Package org.opensaml.xmlsec.impl
Class BasicDecryptionConfiguration
- java.lang.Object
-
- org.opensaml.xmlsec.impl.BasicWhitelistBlacklistConfiguration
-
- org.opensaml.xmlsec.impl.BasicDecryptionConfiguration
-
- All Implemented Interfaces:
DecryptionConfiguration,WhitelistBlacklistConfiguration
public class BasicDecryptionConfiguration extends BasicWhitelistBlacklistConfiguration implements DecryptionConfiguration
Basic implementation ofDecryptionConfiguration.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
WhitelistBlacklistConfiguration.Precedence
-
-
Field Summary
Fields Modifier and Type Field Description private KeyInfoCredentialResolverdataKeyInfoCredentialResolverThe EncryptedData's KeyInfo credential resolver.private EncryptedKeyResolverencryptedKeyResolverThe EncryptedKey resolver.private KeyInfoCredentialResolverkekKeyInfoCredentialResolverThe EncryptedKey's KeyInfo credential resolver.-
Fields inherited from class org.opensaml.xmlsec.impl.BasicWhitelistBlacklistConfiguration
DEFAULT_PRECEDENCE
-
-
Constructor Summary
Constructors Constructor Description BasicDecryptionConfiguration()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyInfoCredentialResolvergetDataKeyInfoCredentialResolver()Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.EncryptedKeyResolvergetEncryptedKeyResolver()Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.KeyInfoCredentialResolvergetKEKKeyInfoCredentialResolver()Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).voidsetDataKeyInfoCredentialResolver(KeyInfoCredentialResolver resolver)Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.voidsetEncryptedKeyResolver(EncryptedKeyResolver resolver)Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.voidsetKEKKeyInfoCredentialResolver(KeyInfoCredentialResolver resolver)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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
-
-
-
-
Field Detail
-
dataKeyInfoCredentialResolver
@Nullable private KeyInfoCredentialResolver dataKeyInfoCredentialResolver
The EncryptedData's KeyInfo credential resolver.
-
kekKeyInfoCredentialResolver
@Nullable private KeyInfoCredentialResolver kekKeyInfoCredentialResolver
The EncryptedKey's KeyInfo credential resolver.
-
encryptedKeyResolver
@Nullable private EncryptedKeyResolver encryptedKeyResolver
The EncryptedKey resolver.
-
-
Method Detail
-
getDataKeyInfoCredentialResolver
@Nullable public KeyInfoCredentialResolver getDataKeyInfoCredentialResolver()
Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.- Specified by:
getDataKeyInfoCredentialResolverin interfaceDecryptionConfiguration- Returns:
- the KeyInfoCredentialResolver instance
-
setDataKeyInfoCredentialResolver
public void setDataKeyInfoCredentialResolver(@Nullable KeyInfoCredentialResolver resolver)Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.- Parameters:
resolver- the KeyInfoCredentialResolver instance
-
getKEKKeyInfoCredentialResolver
@Nullable public KeyInfoCredentialResolver getKEKKeyInfoCredentialResolver()
Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).- Specified by:
getKEKKeyInfoCredentialResolverin interfaceDecryptionConfiguration- Returns:
- the KeyInfoCredentialResolver instance
-
setKEKKeyInfoCredentialResolver
public void setKEKKeyInfoCredentialResolver(@Nullable KeyInfoCredentialResolver resolver)Set the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).- Parameters:
resolver- the KeyInfoCredentialResolver instance
-
getEncryptedKeyResolver
@Nullable public EncryptedKeyResolver getEncryptedKeyResolver()
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.- Specified by:
getEncryptedKeyResolverin interfaceDecryptionConfiguration- Returns:
- the EncryptedKeyResolver instance
-
setEncryptedKeyResolver
public void setEncryptedKeyResolver(@Nullable EncryptedKeyResolver resolver)Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.- Parameters:
resolver- the EncryptedKeyResolver instance
-
-