public class BasicEncryptionConfiguration extends BasicWhitelistBlacklistConfiguration implements EncryptionConfiguration
EncryptionConfiguration.WhitelistBlacklistConfiguration.Precedence| Modifier and Type | Field and Description |
|---|---|
private List<String> |
dataEncryptionAlgorithms
Data encryption algorithm URIs.
|
private List<Credential> |
dataEncryptionCredentials
Data encryption credentials.
|
private NamedKeyInfoGeneratorManager |
dataKeyInfoGeneratorManager
Manager for named KeyInfoGenerator instances for encrypting data.
|
private List<String> |
keyTransportEncryptionAlgorithms
Key transport encryption algorithm URIs.
|
private List<Credential> |
keyTransportEncryptionCredentials
Key transport encryption credentials.
|
private NamedKeyInfoGeneratorManager |
keyTransportKeyInfoGeneratorManager
Manager for named KeyInfoGenerator instances for encrypting keys.
|
private KeyTransportAlgorithmPredicate |
keyTransportPredicate
Key transport algorithm predicate.
|
private org.slf4j.Logger |
log
Class logger.
|
private RSAOAEPParameters |
rsaOAEPParameters
RSA OAEP parameters.
|
private boolean |
rsaOAEPParametersMerge
Flag whether to merge RSA OAEP parameters.
|
DEFAULT_PRECEDENCE| Constructor and Description |
|---|
BasicEncryptionConfiguration()
Constructor.
|
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge, setBlacklistedAlgorithms, setBlacklistMerge, setWhitelistBlacklistPrecedence, setWhitelistedAlgorithms, setWhitelistMergeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge@Nonnull private final org.slf4j.Logger log
@Nonnull @NonnullElements private List<Credential> dataEncryptionCredentials
@Nonnull @NonnullElements private List<String> dataEncryptionAlgorithms
@Nonnull @NonnullElements private List<Credential> keyTransportEncryptionCredentials
@Nonnull @NonnullElements private List<String> keyTransportEncryptionAlgorithms
@Nullable private NamedKeyInfoGeneratorManager dataKeyInfoGeneratorManager
@Nullable private NamedKeyInfoGeneratorManager keyTransportKeyInfoGeneratorManager
@Nullable private RSAOAEPParameters rsaOAEPParameters
private boolean rsaOAEPParametersMerge
@Nullable private KeyTransportAlgorithmPredicate keyTransportPredicate
@Nonnull @NonnullElements @Unmodifiable @NotLive public List<Credential> getDataEncryptionCredentials()
getDataEncryptionCredentials in interface EncryptionConfigurationpublic void setDataEncryptionCredentials(@Nullable List<Credential> credentials)
credentials - the list of data encryption credentials@Nonnull @NonnullElements @Unmodifiable @NotLive public List<String> getDataEncryptionAlgorithms()
getDataEncryptionAlgorithms in interface EncryptionConfigurationpublic void setDataEncryptionAlgorithms(@Nullable List<String> algorithms)
algorithms - the list of algorithms@Nonnull @NonnullElements @Unmodifiable @NotLive public List<Credential> getKeyTransportEncryptionCredentials()
getKeyTransportEncryptionCredentials in interface EncryptionConfigurationpublic void setKeyTransportEncryptionCredentials(@Nullable List<Credential> credentials)
credentials - the list of key transport encryption credentials@Nonnull @NonnullElements @Unmodifiable @NotLive public List<String> getKeyTransportEncryptionAlgorithms()
getKeyTransportEncryptionAlgorithms in interface EncryptionConfigurationpublic void setKeyTransportEncryptionAlgorithms(@Nullable List<String> algorithms)
algorithms - the list of algorithms@Nullable public NamedKeyInfoGeneratorManager getDataKeyInfoGeneratorManager()
getDataKeyInfoGeneratorManager in interface EncryptionConfigurationpublic void setDataKeyInfoGeneratorManager(@Nullable NamedKeyInfoGeneratorManager keyInfoManager)
keyInfoManager - the KeyInfoGenerator manager to use@Nullable public NamedKeyInfoGeneratorManager getKeyTransportKeyInfoGeneratorManager()
getKeyTransportKeyInfoGeneratorManager in interface EncryptionConfigurationpublic void setKeyTransportKeyInfoGeneratorManager(@Nullable NamedKeyInfoGeneratorManager keyInfoManager)
keyInfoManager - the KeyInfoGenerator manager to use@Nullable public RSAOAEPParameters getRSAOAEPParameters()
getRSAOAEPParameters in interface EncryptionConfigurationpublic void setRSAOAEPParameters(@Nullable RSAOAEPParameters params)
RSAOAEPParameters.params - the new parameters instancepublic boolean isRSAOAEPParametersMerge()
Defaults to: true
isRSAOAEPParametersMerge in interface EncryptionConfigurationpublic void setRSAOAEPParametersMerge(boolean flag)
RSAOAEPParameters values with those of
a lower order of precedence, or to treat this configuration's parameters set as authoritative.
Defaults to: true
flag - true if should merge, false otherwise@Nullable public KeyTransportAlgorithmPredicate getKeyTransportAlgorithmPredicate()
getKeyTransportAlgorithmPredicate in interface EncryptionConfigurationpublic void setKeyTransportAlgorithmPredicate(KeyTransportAlgorithmPredicate predicate)
KeyTransportAlgorithmPredicate.predicate - the new predicate instanceCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.