KeyWrapper
public class BcRSAAsymmetricKeyWrapper extends BcAsymmetricKeyWrapper
Constructor | Description |
---|---|
BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) |
|
BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId,
org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) |
Modifier and Type | Method | Description |
---|---|---|
protected org.bouncycastle.crypto.AsymmetricBlockCipher |
createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) |
getAlgorithmIdentifier
generateWrappedKey, setSecureRandom
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