Package org.opensaml.xmlsec
Interface EncryptionConfiguration
- All Superinterfaces:
AlgorithmPolicyConfiguration
,WhitelistBlacklistConfiguration
- All Known Implementing Classes:
BasicEncryptionConfiguration
The configuration information to use when generating encrypted XML.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
WhitelistBlacklistConfiguration.Precedence
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of preferred data encryption algorithm URIs, in preference order.Get the list of data encryption credentials to use, in preference order.Get the KeyInfoGenerator manager to use when generating the EncryptedData/KeyInfo.Get the map ofKeyAgreementEncryptionConfiguration
instances.Get the instance ofKeyTransportAlgorithmPredicate
.Get the list of preferred key transport encryption algorithm URIs, in preference order.Get the list of key transport encryption credentials to use, in preference order.Get the KeyInfoGenerator manager to use when generating the EncryptedKey/KeyInfo.Get the instance ofRSAOAEPParameters
.boolean
Flag indicating whether to merge this configuration'sRSAOAEPParameters
values with those of a lower order of precedence, or to treat this configuration's parameters set as authoritative.Methods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
Methods inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
-
Method Details
-
getDataEncryptionCredentials
Get the list of data encryption credentials to use, in preference order.- Returns:
- the list of encryption credentials, may be empty
-
getDataEncryptionAlgorithms
Get the list of preferred data encryption algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
getKeyTransportEncryptionCredentials
@Nonnull @NonnullElements @Unmodifiable @NotLive List<Credential> getKeyTransportEncryptionCredentials()Get the list of key transport encryption credentials to use, in preference order.- Returns:
- the list of encryption credentials, 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
-
getDataKeyInfoGeneratorManager
Get the KeyInfoGenerator manager to use when generating the EncryptedData/KeyInfo.- Returns:
- the KeyInfoGenerator manager instance
-
getKeyTransportKeyInfoGeneratorManager
Get the KeyInfoGenerator manager to use when generating the EncryptedKey/KeyInfo.- Returns:
- the KeyInfoGenerator manager instance
-
getRSAOAEPParameters
Get the instance ofRSAOAEPParameters
.- Returns:
- the parameters instance
-
isRSAOAEPParametersMerge
boolean isRSAOAEPParametersMerge()Flag indicating whether to merge this configuration'sRSAOAEPParameters
values with those of a lower order of precedence, or to treat this configuration's parameters set as authoritative.- Returns:
- true if should merge, false otherwise
-
getKeyTransportAlgorithmPredicate
Get the instance ofKeyTransportAlgorithmPredicate
.- Returns:
- the predicate instance
-
getKeyAgreementConfigurations
@Nonnull @Unmodifiable @NotLive Map<String,KeyAgreementEncryptionConfiguration> getKeyAgreementConfigurations()Get the map ofKeyAgreementEncryptionConfiguration
instances.- Returns:
- the
-