Package org.bouncycastle.operator.jcajce
Class JceKTSKeyWrapper
java.lang.Object
org.bouncycastle.operator.AsymmetricKeyWrapper
org.bouncycastle.operator.jcajce.JceKTSKeyWrapper
- All Implemented Interfaces:
KeyWrapper
-
Constructor Summary
ConstructorsConstructorDescriptionJceKTSKeyWrapper(X509Certificate certificate, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo) JceKTSKeyWrapper(PublicKey publicKey, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]generateWrappedKey(GenericKey encryptionKey) setProvider(String providerName) setProvider(Provider provider) setSecureRandom(SecureRandom random) Methods inherited from class org.bouncycastle.operator.AsymmetricKeyWrapper
getAlgorithmIdentifier
-
Constructor Details
-
JceKTSKeyWrapper
-
JceKTSKeyWrapper
public JceKTSKeyWrapper(X509Certificate certificate, String symmetricWrappingAlg, int keySizeInBits, byte[] partyUInfo, byte[] partyVInfo)
-
-
Method Details
-
setProvider
-
setProvider
-
setSecureRandom
-
generateWrappedKey
- Throws:
OperatorException
-