public class BcRSAAsymmetricKeyWrapper extends BcAsymmetricKeyWrapper
Constructor and Description |
---|
BcRSAAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId,
AsymmetricKeyParameter publicKey) |
BcRSAAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId,
SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
protected AsymmetricBlockCipher |
createAsymmetricWrapper(ASN1ObjectIdentifier algorithm) |
generateWrappedKey, setSecureRandom
getAlgorithmIdentifier
public BcRSAAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId, AsymmetricKeyParameter publicKey)
public BcRSAAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId, SubjectPublicKeyInfo publicKeyInfo) throws IOException
IOException
protected AsymmetricBlockCipher createAsymmetricWrapper(ASN1ObjectIdentifier algorithm)
createAsymmetricWrapper
in class BcAsymmetricKeyWrapper
Copyright © 2015. All rights reserved.