Package org.jose4j.jwe
Class AesKeyWrapManagementAlgorithm
java.lang.Object
org.jose4j.jwa.AlgorithmInfo
org.jose4j.jwe.WrappingKeyManagementAlgorithm
org.jose4j.jwe.AesKeyWrapManagementAlgorithm
- All Implemented Interfaces:
Algorithm
,KeyManagementAlgorithm
- Direct Known Subclasses:
AesKeyWrapManagementAlgorithm.Aes128
,AesKeyWrapManagementAlgorithm.Aes192
,AesKeyWrapManagementAlgorithm.Aes256
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class org.jose4j.jwe.WrappingKeyManagementAlgorithm
log, useSuppliedKeyProviderContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
validateDecryptionKey
(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) void
validateEncryptionKey
(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) Methods inherited from class org.jose4j.jwe.WrappingKeyManagementAlgorithm
manageForDecrypt, manageForEnc, manageForEncrypt, prepareForDecrypt, setAlgorithmParameterSpec
Methods inherited from class org.jose4j.jwa.AlgorithmInfo
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, setAlgorithmIdentifier, setJavaAlgorithm, setKeyPersuasion, setKeyType, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jose4j.jwa.Algorithm
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType
-
Constructor Details
-
AesKeyWrapManagementAlgorithm
-
-
Method Details
-
validateEncryptionKey
public void validateEncryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException - Throws:
InvalidKeyException
-
validateDecryptionKey
public void validateDecryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException - Throws:
InvalidKeyException
-
isAvailable
public boolean isAvailable()
-