Package org.bouncycastle.operator.bc
Class BcAsymmetricKeyWrapper
java.lang.Object
org.bouncycastle.operator.AsymmetricKeyWrapper
org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper
- All Implemented Interfaces:
KeyWrapper
- Direct Known Subclasses:
BcRSAAsymmetricKeyWrapper
-
Constructor Summary
ConstructorsConstructorDescriptionBcAsymmetricKeyWrapper
(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.bouncycastle.crypto.AsymmetricBlockCipher
createAsymmetricWrapper
(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) byte[]
generateWrappedKey
(GenericKey encryptionKey) setSecureRandom
(SecureRandom random) Methods inherited from class org.bouncycastle.operator.AsymmetricKeyWrapper
getAlgorithmIdentifier
-
Constructor Details
-
BcAsymmetricKeyWrapper
public BcAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
-
-
Method Details
-
setSecureRandom
-
generateWrappedKey
- Throws:
OperatorException
-
createAsymmetricWrapper
protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
-