org.bouncycastle.operator.jcajce
Class JceAsymmetricKeyWrapper
java.lang.Object
org.bouncycastle.operator.AsymmetricKeyWrapper
org.bouncycastle.operator.jcajce.JceAsymmetricKeyWrapper
- All Implemented Interfaces:
- KeyWrapper
public class JceAsymmetricKeyWrapper
- extends AsymmetricKeyWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JceAsymmetricKeyWrapper
public JceAsymmetricKeyWrapper(java.security.PublicKey publicKey)
JceAsymmetricKeyWrapper
public JceAsymmetricKeyWrapper(java.security.cert.X509Certificate certificate)
setProvider
public JceAsymmetricKeyWrapper setProvider(java.security.Provider provider)
setProvider
public JceAsymmetricKeyWrapper setProvider(java.lang.String providerName)
setSecureRandom
public JceAsymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)
generateWrappedKey
public byte[] generateWrappedKey(GenericKey encryptionKey)
throws OperatorException
- Throws:
OperatorException