Class BasicDecryptionConfiguration
java.lang.Object
org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
net.shibboleth.oidc.security.jose.impl.BasicDecryptionConfiguration
- All Implemented Interfaces:
DecryptionConfiguration,AlgorithmPolicyConfiguration
public class BasicDecryptionConfiguration
extends BasicAlgorithmPolicyConfiguration
implements DecryptionConfiguration
Basic implementation of
DecryptionConfiguration for handling JWEs.- Since:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
AlgorithmPolicyConfiguration.Precedence -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JOSEObjectCredentialResolverThe content encryption key (CEK) resolver.private JOSEObjectCredentialResolverThe EncryptedKey's credential resolver.Fields inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
DEFAULT_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the CredentialResolver to use when processing the encrypted content.Get the CredentialResolver to use when processing the EncryptedKey (the Key Encryption Key or KEK).voidSet the KeyInfoCredentialResolver to use when processing the encrypted content.voidSet the CredentialResolver to use when processing the EncryptedKey (the Key Encryption Key or KEK).Methods inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge, setExcludedAlgorithms, setExcludeMerge, setIncludedAlgorithms, setIncludeExcludePrecedence, setIncludeMergeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
-
Field Details
-
kekKeyCredentialResolver
The EncryptedKey's credential resolver. -
contentEncryptionKeyCredentialResolver
The content encryption key (CEK) resolver.
-
-
Constructor Details
-
BasicDecryptionConfiguration
public BasicDecryptionConfiguration()
-
-
Method Details
-
getContentEncryptionKeyCredentialResolver
Description copied from interface:DecryptionConfigurationGet the CredentialResolver to use when processing the encrypted content.- Specified by:
getContentEncryptionKeyCredentialResolverin interfaceDecryptionConfiguration- Returns:
- the KeyInfoCredentialResolver instance
-
setContentEncryptionKeyCredentialResolver
public void setContentEncryptionKeyCredentialResolver(@Nullable JOSEObjectCredentialResolver resolver) Set the KeyInfoCredentialResolver to use when processing the encrypted content.- Parameters:
resolver- the CredentialResolver instance
-
getKEKCredentialResolver
Description copied from interface:DecryptionConfigurationGet the CredentialResolver to use when processing the EncryptedKey (the Key Encryption Key or KEK).- Specified by:
getKEKCredentialResolverin interfaceDecryptionConfiguration- Returns:
- the CredentialResolver instance
-
setKEKCredentialResolver
Set the CredentialResolver to use when processing the EncryptedKey (the Key Encryption Key or KEK).- Parameters:
resolver- the CredentialResolver instance
-