Top Fields Constructors Methods
org.bouncycastle.operator.jcajce

public Class JceKTSKeyWrapper

extends AsymmetricKeyWrapper
Class Inheritance
Imports
java.security.Provider, .PublicKey, .SecureRandom, java.security.cert.X509Certificate, java.util.HashMap, javax.crypto.Cipher, org.bouncycastle.asn1.cms.GenericHybridParameters, .RsaKemParameters, org.bouncycastle.asn1.iso.ISOIECObjectIdentifiers, org.bouncycastle.asn1.nist.NISTObjectIdentifiers, org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x9.X9ObjectIdentifiers, org.bouncycastle.crypto.util.DEROtherInfo, org.bouncycastle.jcajce.spec.KTSParameterSpec, org.bouncycastle.jcajce.util.DefaultJcaJceHelper, .NamedJcaJceHelper, .ProviderJcaJceHelper, org.bouncycastle.operator.AsymmetricKeyWrapper, .GenericKey, .OperatorException, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private OperatorHelper
private final int
private final byte[]
private final byte[]
private PublicKey
private SecureRandom
private final String

Constructor Summary

AccessConstructor and Description
public
JceKTSKeyWrapper(PublicKey publicKey, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo)

public
JceKTSKeyWrapper(X509Certificate certificate, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo)

Method Summary

Modifier and TypeMethod and Description
public byte[]
public JceKTSKeyWrapper
public JceKTSKeyWrapper
setProvider(String providerName)

public JceKTSKeyWrapper
Inherited from org.bouncycastle.operator.AsymmetricKeyWrapper:
getAlgorithmIdentifier

Field Detail

helperback to summary
private OperatorHelper helper
keySizeInBitsback to summary
private final int keySizeInBits
partyUInfoback to summary
private final byte[] partyUInfo
partyVInfoback to summary
private final byte[] partyVInfo
publicKeyback to summary
private PublicKey publicKey
randomback to summary
private SecureRandom random
symmetricWrappingAlgback to summary
private final String symmetricWrappingAlg

Constructor Detail

JceKTSKeyWrapperback to summary
public JceKTSKeyWrapper(PublicKey publicKey, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo)
JceKTSKeyWrapperback to summary
public JceKTSKeyWrapper(X509Certificate certificate, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo)

Method Detail

generateWrappedKeyback to summary
public byte[] generateWrappedKey(GenericKey encryptionKey) throws OperatorException

Implements org.bouncycastle.operator.KeyWrapper.generateWrappedKey.

setProviderback to summary
public JceKTSKeyWrapper setProvider(Provider provider)
setProviderback to summary
public JceKTSKeyWrapper setProvider(String providerName)
setSecureRandomback to summary
public JceKTSKeyWrapper setSecureRandom(SecureRandom random)