Package org.opensaml.xmlsec
Interface EncryptionConfiguration
- All Superinterfaces:
AlgorithmPolicyConfiguration
,WhitelistBlacklistConfiguration
- All Known Implementing Classes:
BasicEncryptionConfiguration
public interface EncryptionConfiguration extends WhitelistBlacklistConfiguration
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 Type Method Description List<String>
getDataEncryptionAlgorithms()
Get the list of preferred data encryption algorithm URIs, in preference order.List<Credential>
getDataEncryptionCredentials()
Get the list of data encryption credentials to use, in preference order.NamedKeyInfoGeneratorManager
getDataKeyInfoGeneratorManager()
Get the KeyInfoGenerator manager to use when generating the EncryptedData/KeyInfo.Map<String,KeyAgreementEncryptionConfiguration>
getKeyAgreementConfigurations()
Get the map ofKeyAgreementEncryptionConfiguration
instances.KeyTransportAlgorithmPredicate
getKeyTransportAlgorithmPredicate()
Get the instance ofKeyTransportAlgorithmPredicate
.List<String>
getKeyTransportEncryptionAlgorithms()
Get the list of preferred key transport encryption algorithm URIs, in preference order.List<Credential>
getKeyTransportEncryptionCredentials()
Get the list of key transport encryption credentials to use, in preference order.NamedKeyInfoGeneratorManager
getKeyTransportKeyInfoGeneratorManager()
Get the KeyInfoGenerator manager to use when generating the EncryptedKey/KeyInfo.RSAOAEPParameters
getRSAOAEPParameters()
Get the instance ofRSAOAEPParameters
.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.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
-