public class BcRSAAsymmetricKeyWrapper extends BcAsymmetricKeyWrapper
Constructor and Description |
---|
BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) |
BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
protected org.bouncycastle.crypto.AsymmetricBlockCipher |
createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) |
generateWrappedKey, setSecureRandom
getAlgorithmIdentifier
public BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey)
public BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws java.io.IOException
java.io.IOException
protected org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
createAsymmetricWrapper
in class BcAsymmetricKeyWrapper