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
public abstract class BcAsymmetricKeyWrapper extends AsymmetricKeyWrapper
-
-
Constructor Summary
Constructors Constructor Description BcAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher
createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
byte[]
generateWrappedKey(GenericKey encryptionKey)
BcAsymmetricKeyWrapper
setSecureRandom(java.security.SecureRandom random)
-
Methods inherited from class org.bouncycastle.operator.AsymmetricKeyWrapper
getAlgorithmIdentifier
-
-
-
-
Method Detail
-
setSecureRandom
public BcAsymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)
-
generateWrappedKey
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException
- Throws:
OperatorException
-
createAsymmetricWrapper
protected abstract org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
-
-