KeyWrapperBcRSAAsymmetricKeyWrapperpublic abstract class BcAsymmetricKeyWrapper extends AsymmetricKeyWrapper
| Constructor | Description |
|---|---|
BcAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) |
| 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) |
getAlgorithmIdentifierpublic BcAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
public BcAsymmetricKeyWrapper setSecureRandom(java.security.SecureRandom random)
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException
OperatorExceptionprotected abstract org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)