Package org.opensaml.xmlsec
Class DecryptionParameters
java.lang.Object
org.opensaml.xmlsec.AlgorithmPolicyParameters
org.opensaml.xmlsec.DecryptionParameters
The effective parameters to use when decrypting encrypted XML.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate KeyInfoCredentialResolverThe EncryptedData's KeyInfo credential resolver.private EncryptedKeyResolverThe EncryptedKey resolver.private KeyInfoCredentialResolverThe EncryptedKey's KeyInfo credential resolver.The set of recipients against which to evaluate candidate EncryptedKey elements. -
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).Get the set of recipients against which to evaluate candidate EncryptedKey elements.voidSet the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.voidsetEncryptedKeyResolver(EncryptedKeyResolver resolver) Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.voidSet the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).voidsetRecipients(Set<String> newRecipients) Set the set of recipients against which to evaluate candidate EncryptedKey elements.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. -
recipients
The set of recipients against which to evaluate candidate EncryptedKey elements.
-
-
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
-
getRecipients
Get the set of recipients against which to evaluate candidate EncryptedKey elements.- Returns:
- the recipients
-
setRecipients
Set the set of recipients against which to evaluate candidate EncryptedKey elements.- Parameters:
newRecipients- the recipients
-