Interface EncryptionConfiguration
- All Superinterfaces:
AlgorithmPolicyConfiguration
- All Known Implementing Classes:
BasicEncryptionConfiguration
The configuration information to use when generating a JWE.
- Since:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
AlgorithmPolicyConfiguration.Precedence -
Method Summary
Modifier and TypeMethodDescriptionGet the CredentialResolver to resolve the content encryption key.Get the list of preferred data encryption algorithm URIs, in preference order.Get the CredentialResolver to resolve the key encryption or key wrapping key.Get the list of preferred key transport encryption algorithm URIs, in preference order.Methods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
-
Method Details
-
getDataEncryptionAlgorithms
Get the list of preferred data encryption algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
getKeyTransportEncryptionAlgorithms
Get the list of preferred key transport encryption algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
getContentEncryptionKeyCredentialResolver
Get the CredentialResolver to resolve the content encryption key.- Returns:
- the KeyInfoCredentialResolver instance
-
getKEKCredentialResolver
Get the CredentialResolver to resolve the key encryption or key wrapping key.- Returns:
- the CredentialResolver instance
-