Package org.spongycastle.operator.bc
Class BcRSAAsymmetricKeyWrapper
java.lang.Object
org.spongycastle.operator.AsymmetricKeyWrapper
org.spongycastle.operator.bc.BcAsymmetricKeyWrapper
org.spongycastle.operator.bc.BcRSAAsymmetricKeyWrapper
- All Implemented Interfaces:
KeyWrapper
-
Constructor Summary
ConstructorsConstructorDescriptionBcRSAAsymmetricKeyWrapper(org.spongycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.spongycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) BcRSAAsymmetricKeyWrapper(org.spongycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.spongycastle.crypto.params.AsymmetricKeyParameter publicKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.spongycastle.crypto.AsymmetricBlockCiphercreateAsymmetricWrapper(org.spongycastle.asn1.ASN1ObjectIdentifier algorithm) Methods inherited from class org.spongycastle.operator.bc.BcAsymmetricKeyWrapper
generateWrappedKey, setSecureRandomMethods inherited from class org.spongycastle.operator.AsymmetricKeyWrapper
getAlgorithmIdentifier
-
Constructor Details
-
BcRSAAsymmetricKeyWrapper
public BcRSAAsymmetricKeyWrapper(org.spongycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.spongycastle.crypto.params.AsymmetricKeyParameter publicKey) -
BcRSAAsymmetricKeyWrapper
public BcRSAAsymmetricKeyWrapper(org.spongycastle.asn1.x509.AlgorithmIdentifier encAlgId, org.spongycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo) throws IOException - Throws:
IOException
-
-
Method Details
-
createAsymmetricWrapper
protected org.spongycastle.crypto.AsymmetricBlockCipher createAsymmetricWrapper(org.spongycastle.asn1.ASN1ObjectIdentifier algorithm) - Specified by:
createAsymmetricWrapperin classBcAsymmetricKeyWrapper
-