Package org.opensaml.xmlsec.impl
Class BasicDecryptionConfiguration
java.lang.Object
org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
org.opensaml.xmlsec.impl.BasicWhitelistBlacklistConfiguration
org.opensaml.xmlsec.impl.BasicDecryptionConfiguration
- All Implemented Interfaces:
AlgorithmPolicyConfiguration
,DecryptionConfiguration
,WhitelistBlacklistConfiguration
public class BasicDecryptionConfiguration
extends BasicWhitelistBlacklistConfiguration
implements DecryptionConfiguration
Basic implementation of
DecryptionConfiguration
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
AlgorithmPolicyConfiguration.Precedence
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
WhitelistBlacklistConfiguration.Precedence
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate KeyInfoCredentialResolver
The EncryptedData's KeyInfo credential resolver.private EncryptedKeyResolver
The EncryptedKey resolver.private KeyInfoCredentialResolver
The EncryptedKey's KeyInfo credential resolver.Fields inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
DEFAULT_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).void
Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.void
setEncryptedKeyResolver
(EncryptedKeyResolver resolver) Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.void
Set the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).Methods inherited from class org.opensaml.xmlsec.impl.BasicWhitelistBlacklistConfiguration
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge, setBlacklistedAlgorithms, setBlacklistMerge, setWhitelistBlacklistPrecedence, setWhitelistedAlgorithms, setWhitelistMerge
Methods inherited from class org.opensaml.xmlsec.impl.BasicAlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge, setExcludedAlgorithms, setExcludeMerge, setIncludedAlgorithms, setIncludeExcludePrecedence, setIncludeMerge
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
Methods inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
-
Field Details
-
dataKeyInfoCredentialResolver
The EncryptedData's KeyInfo credential resolver. -
kekKeyInfoCredentialResolver
The EncryptedKey's KeyInfo credential resolver. -
encryptedKeyResolver
The EncryptedKey resolver.
-
-
Constructor Details
-
BasicDecryptionConfiguration
public BasicDecryptionConfiguration()
-
-
Method Details
-
getDataKeyInfoCredentialResolver
Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.- Specified by:
getDataKeyInfoCredentialResolver
in interfaceDecryptionConfiguration
- Returns:
- the KeyInfoCredentialResolver instance
-
setDataKeyInfoCredentialResolver
Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.- Parameters:
resolver
- the KeyInfoCredentialResolver instance
-
getKEKKeyInfoCredentialResolver
Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).- Specified by:
getKEKKeyInfoCredentialResolver
in interfaceDecryptionConfiguration
- Returns:
- the KeyInfoCredentialResolver instance
-
setKEKKeyInfoCredentialResolver
Set the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).- Parameters:
resolver
- the KeyInfoCredentialResolver instance
-
getEncryptedKeyResolver
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.- Specified by:
getEncryptedKeyResolver
in interfaceDecryptionConfiguration
- Returns:
- the EncryptedKeyResolver instance
-
setEncryptedKeyResolver
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.- Parameters:
resolver
- the EncryptedKeyResolver instance
-