Interface EncryptionConfiguration
-
- All Superinterfaces:
AlgorithmPolicyConfiguration
public interface EncryptionConfiguration extends AlgorithmPolicyConfiguration
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CredentialResolvergetContentEncryptionKeyCredentialResolver()Get the CredentialResolver to resolve the content encryption key.List<String>getDataEncryptionAlgorithms()Get the list of preferred data encryption algorithm URIs, in preference order.CredentialResolvergetKEKCredentialResolver()Get the CredentialResolver to resolve the key encryption or key wrapping key.List<String>getKeyTransportEncryptionAlgorithms()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 Detail
-
getDataEncryptionAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getDataEncryptionAlgorithms()
Get the list of preferred data encryption algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
getKeyTransportEncryptionAlgorithms
@Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getKeyTransportEncryptionAlgorithms()
Get the list of preferred key transport encryption algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
getContentEncryptionKeyCredentialResolver
@Nullable CredentialResolver getContentEncryptionKeyCredentialResolver()
Get the CredentialResolver to resolve the content encryption key.- Returns:
- the KeyInfoCredentialResolver instance
-
getKEKCredentialResolver
@Nullable CredentialResolver getKEKCredentialResolver()
Get the CredentialResolver to resolve the key encryption or key wrapping key.- Returns:
- the CredentialResolver instance
-
-