public class JceKTSKeyUnwrapper extends AsymmetricKeyUnwrapper
| Constructor and Description |
|---|
JceKTSKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
java.security.PrivateKey privKey,
byte[] partyUInfo,
byte[] partyVInfo) |
| Modifier and Type | Method and Description |
|---|---|
GenericKey |
generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm,
byte[] encryptedKey) |
JceKTSKeyUnwrapper |
setProvider(java.security.Provider provider) |
JceKTSKeyUnwrapper |
setProvider(java.lang.String providerName) |
getAlgorithmIdentifierpublic JceKTSKeyUnwrapper(org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier,
java.security.PrivateKey privKey,
byte[] partyUInfo,
byte[] partyVInfo)
public JceKTSKeyUnwrapper setProvider(java.security.Provider provider)
public JceKTSKeyUnwrapper setProvider(java.lang.String providerName)
public GenericKey generateUnwrappedKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedKey) throws OperatorException
OperatorException