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 classstatic classstatic class -
Field Summary
Fields inherited from class org.jose4j.jwe.WrappingKeyManagementAlgorithm
log, useSuppliedKeyProviderContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvalidateDecryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) voidvalidateEncryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) Methods inherited from class org.jose4j.jwe.WrappingKeyManagementAlgorithm
manageForDecrypt, manageForEnc, manageForEncrypt, prepareForDecrypt, setAlgorithmParameterSpecMethods inherited from class org.jose4j.jwa.AlgorithmInfo
getAlgorithmIdentifier, getJavaAlgorithm, getKeyPersuasion, getKeyType, setAlgorithmIdentifier, setJavaAlgorithm, setKeyPersuasion, setKeyType, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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()
-