Package org.jose4j.jwe
Class RsaKeyManagementAlgorithm
java.lang.Object
org.jose4j.jwa.AlgorithmInfo
org.jose4j.jwe.WrappingKeyManagementAlgorithm
org.jose4j.jwe.RsaKeyManagementAlgorithm
- All Implemented Interfaces:
Algorithm,KeyManagementAlgorithm
- Direct Known Subclasses:
RsaKeyManagementAlgorithm.Rsa1_5,RsaKeyManagementAlgorithm.RsaOaep,RsaKeyManagementAlgorithm.RsaOaep256
public class RsaKeyManagementAlgorithm
extends WrappingKeyManagementAlgorithm
implements KeyManagementAlgorithm
-
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, setAlgorithmParameterSpec, unwrapMethods 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, getKeyTypeMethods inherited from interface org.jose4j.jwe.KeyManagementAlgorithm
manageForDecrypt, manageForEncrypt, prepareForDecrypt
-
Constructor Details
-
RsaKeyManagementAlgorithm
-
-
Method Details
-
validateEncryptionKey
public void validateEncryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException - Specified by:
validateEncryptionKeyin interfaceKeyManagementAlgorithm- Throws:
InvalidKeyException
-
validateDecryptionKey
public void validateDecryptionKey(Key managementKey, ContentEncryptionAlgorithm contentEncryptionAlg) throws InvalidKeyException - Specified by:
validateDecryptionKeyin interfaceKeyManagementAlgorithm- Throws:
InvalidKeyException
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein interfaceAlgorithm
-