public interface KeyWrapAlgorithm extends EncryptionAlgorithm
The application does not normally need to use this interface because the Toolkit already contains classes that implement it.
The following key wrap algorithms are supported:
| Modifier and Type | Method and Description |
|---|---|
void |
setSecretKey(javax.crypto.SecretKey secretKey)
Sets a secret key to wrap an <EncryptedKey> element.
|
decrypt, encrypt, getEncoded, getIVparameters, getURI, initDecrypt, initEncrypt, setPrivateKey, setPublicKey, setURIvoid setSecretKey(javax.crypto.SecretKey secretKey)
throws EncryptionAlgorithmException
Applies only to key wrap algorithms.
EncryptionAlgorithmException