Package org.bouncycastle.operator.bc
Class BcRSAAsymmetricKeyWrapper
java.lang.Object
org.bouncycastle.operator.AsymmetricKeyWrapper
org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper
org.bouncycastle.operator.bc.BcRSAAsymmetricKeyWrapper
- All Implemented Interfaces:
KeyWrapper
-
Constructor Summary
ConstructorDescriptionBcRSAAsymmetricKeyWrapper
(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bouncycastle.crypto.AsymmetricBlockCipher
createAsymmetricWrapper
(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) Methods inherited from class org.bouncycastle.operator.bc.BcAsymmetricKeyWrapper
generateWrappedKey, setSecureRandom
Methods inherited from class org.bouncycastle.operator.AsymmetricKeyWrapper
getAlgorithmIdentifier
-
Constructor Details
-
BcRSAAsymmetricKeyWrapper
public BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.crypto.params.AsymmetricKeyParameter publicKey) -
BcRSAAsymmetricKeyWrapper
public BcRSAAsymmetricKeyWrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws IOException - Throws:
IOException
-
-
Method Details
-
createAsymmetricWrapper
protected org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm) - Specified by:
createAsymmetricWrapper
in classBcAsymmetricKeyWrapper
-