public abstract class BcAsymmetricKeyWrapper extends AsymmetricKeyWrapper
Constructor and Description |
---|
BcAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter publicKey) |
Modifier and Type | Method and Description |
---|---|
protected abstract AsymmetricBlockCipher |
createAsymmetricWrapper(ASN1ObjectIdentifier algorithm) |
byte[] |
generateWrappedKey(GenericKey encryptionKey) |
BcAsymmetricKeyWrapper |
setSecureRandom(SecureRandom random) |
getAlgorithmIdentifier
public BcAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId, AsymmetricKeyParameter publicKey)
public BcAsymmetricKeyWrapper setSecureRandom(SecureRandom random)
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException
OperatorException
protected abstract AsymmetricBlockCipher createAsymmetricWrapper(ASN1ObjectIdentifier algorithm)
Copyright © 2015. All rights reserved.