org.bouncycastle.operator.jcajce
Class JceKTSKeyWrapper
java.lang.Object
|
+--org.bouncycastle.operator.AsymmetricKeyWrapper
|
+--org.bouncycastle.operator.jcajce.JceKTSKeyWrapper
- All Implemented Interfaces:
- KeyWrapper
- public class JceKTSKeyWrapper
- extends AsymmetricKeyWrapper
Constructor Summary |
JceKTSKeyWrapper(java.security.PublicKey publicKey,
java.lang.String symmetricWrappingAlg,
int keySizeInBits,
byte[] partyUInfo,
byte[] partyVInfo)
|
JceKTSKeyWrapper(java.security.cert.X509Certificate certificate,
java.lang.String symmetricWrappingAlg,
int keySizeInBits,
byte[] partyUInfo,
byte[] partyVInfo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JceKTSKeyWrapper
public JceKTSKeyWrapper(java.security.PublicKey publicKey,
java.lang.String symmetricWrappingAlg,
int keySizeInBits,
byte[] partyUInfo,
byte[] partyVInfo)
JceKTSKeyWrapper
public JceKTSKeyWrapper(java.security.cert.X509Certificate certificate,
java.lang.String symmetricWrappingAlg,
int keySizeInBits,
byte[] partyUInfo,
byte[] partyVInfo)
setProvider
public JceKTSKeyWrapper setProvider(java.security.Provider provider)
setProvider
public JceKTSKeyWrapper setProvider(java.lang.String providerName)
setSecureRandom
public JceKTSKeyWrapper setSecureRandom(java.security.SecureRandom random)
generateWrappedKey
public byte[] generateWrappedKey(GenericKey encryptionKey)
throws OperatorException