Package org.opensaml.xmlsec
Class DecryptionParameters
java.lang.Object
org.opensaml.xmlsec.AlgorithmPolicyParameters
org.opensaml.xmlsec.WhitelistBlacklistParameters
org.opensaml.xmlsec.DecryptionParameters
The effective parameters to use when decrypting encrypted XML.
-
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. -
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.WhitelistBlacklistParameters
getBlacklistedAlgorithms, getWhitelistedAlgorithms, setBlacklistedAlgorithms, setWhitelistedAlgorithms
Methods inherited from class org.opensaml.xmlsec.AlgorithmPolicyParameters
getExcludedAlgorithms, getIncludedAlgorithms, setExcludedAlgorithms, setIncludedAlgorithms
-
Field Details
-
dataKeyInfoCredentialResolver
The EncryptedData's KeyInfo credential resolver. -
kekKeyInfoCredentialResolver
The EncryptedKey's KeyInfo credential resolver. -
encryptedKeyResolver
The EncryptedKey resolver.
-
-
Constructor Details
-
DecryptionParameters
public DecryptionParameters()
-
-
Method Details
-
getDataKeyInfoCredentialResolver
Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.- 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).- 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.- Returns:
- the EncryptedKeyResolver instance
-
setEncryptedKeyResolver
Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.- Parameters:
resolver
- the EncryptedKeyResolver instance
-