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
public class BcRSAAsymmetricKeyWrapper extends BcAsymmetricKeyWrapper
-
-
Constructor Summary
Constructors 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
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 java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
createAsymmetricWrapper
protected org.bouncycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm)
- Specified by:
createAsymmetricWrapper
in classBcAsymmetricKeyWrapper
-
-