Top Fields Constructors Methods
org.bouncycastle.operator.bc

public abstract Class BcAsymmetricKeyWrapper

extends AsymmetricKeyWrapper
Class Inheritance
Known Direct Subclasses
org.bouncycastle.operator.bc.BcRSAAsymmetricKeyWrapper
Imports
java.security.SecureRandom, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.crypto.AsymmetricBlockCipher, .CipherParameters, .InvalidCipherTextException, org.bouncycastle.crypto.params.AsymmetricKeyParameter, .ParametersWithRandom, org.bouncycastle.operator.AsymmetricKeyWrapper, .GenericKey, .OperatorException

Field Summary

Modifier and TypeField and Description
private AsymmetricKeyParameter
private SecureRandom

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract AsymmetricBlockCipher
public byte[]
public BcAsymmetricKeyWrapper
Inherited from org.bouncycastle.operator.AsymmetricKeyWrapper:
getAlgorithmIdentifier

Field Detail

publicKeyback to summary
private AsymmetricKeyParameter publicKey
randomback to summary
private SecureRandom random

Constructor Detail

BcAsymmetricKeyWrapperback to summary
public BcAsymmetricKeyWrapper(AlgorithmIdentifier encAlgId, AsymmetricKeyParameter publicKey)

Method Detail

createAsymmetricWrapperback to summary
protected abstract AsymmetricBlockCipher createAsymmetricWrapper(ASN1ObjectIdentifier algorithm)
generateWrappedKeyback to summary
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException

Implements org.bouncycastle.operator.KeyWrapper.generateWrappedKey.

setSecureRandomback to summary
public BcAsymmetricKeyWrapper setSecureRandom(SecureRandom random)