public class BasicSignatureSigningConfiguration extends BasicWhitelistBlacklistConfiguration implements SignatureSigningConfiguration
SignatureSigningConfiguration
.WhitelistBlacklistConfiguration.Precedence
Modifier and Type | Field and Description |
---|---|
private NamedKeyInfoGeneratorManager |
keyInfoGeneratorManager
Manager for named KeyInfoGenerator instances.
|
private org.slf4j.Logger |
log
Class logger.
|
private List<String> |
signatureAlgorithms
Signature method algorithm URIs.
|
private String |
signatureCanonicalization
Signature canonicalization algorithm URI.
|
private Integer |
signatureHMACOutputLength
Signature HMAC output length.
|
private List<String> |
signatureReferenceDigestMethods
Digest method algorithm URIs.
|
private List<org.opensaml.security.credential.Credential> |
signingCredentials
Signing credentials.
|
DEFAULT_PRECEDENCE
Constructor and Description |
---|
BasicSignatureSigningConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
NamedKeyInfoGeneratorManager |
getKeyInfoGeneratorManager() |
List<String> |
getSignatureAlgorithms() |
String |
getSignatureCanonicalizationAlgorithm() |
Integer |
getSignatureHMACOutputLength() |
List<String> |
getSignatureReferenceDigestMethods() |
List<org.opensaml.security.credential.Credential> |
getSigningCredentials() |
void |
setKeyInfoGeneratorManager(NamedKeyInfoGeneratorManager keyInfoManager)
Set the manager for named KeyInfoGenerator instances.
|
void |
setSignatureAlgorithms(List<String> algorithms)
Set the signature algorithms to use when signing.
|
void |
setSignatureCanonicalizationAlgorithm(String algorithmURI)
Set a canonicalization algorithm URI suitable for use as a Signature CanonicalizationMethod value.
|
void |
setSignatureHMACOutputLength(Integer length)
Set the value to be used as the Signature SignatureMethod HMACOutputLength value, used
only when signing with an HMAC algorithm.
|
void |
setSignatureReferenceDigestMethods(List<String> algorithms)
Set a digest method algorithm URI suitable for use as a Signature Reference DigestMethod value.
|
void |
setSigningCredentials(List<org.opensaml.security.credential.Credential> credentials)
Set the signing credentials to use when signing.
|
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge, setBlacklistedAlgorithms, setBlacklistMerge, setWhitelistBlacklistPrecedence, setWhitelistedAlgorithms, setWhitelistMerge
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
@Nonnull private final org.slf4j.Logger log
@Nonnull @NonnullElements private List<org.opensaml.security.credential.Credential> signingCredentials
@Nonnull @NonnullElements private List<String> signatureAlgorithms
@Nonnull @NonnullElements private List<String> signatureReferenceDigestMethods
@Nullable private String signatureCanonicalization
@Nullable private Integer signatureHMACOutputLength
@Nullable private NamedKeyInfoGeneratorManager keyInfoGeneratorManager
public BasicSignatureSigningConfiguration()
@Nonnull @NonnullElements @Unmodifiable @NotLive public List<org.opensaml.security.credential.Credential> getSigningCredentials()
getSigningCredentials
in interface SignatureSigningConfiguration
public void setSigningCredentials(@Nullable List<org.opensaml.security.credential.Credential> credentials)
credentials
- the list of signing credentials@Nonnull @NonnullElements @Unmodifiable @NotLive public List<String> getSignatureAlgorithms()
getSignatureAlgorithms
in interface SignatureSigningConfiguration
public void setSignatureAlgorithms(@Nullable List<String> algorithms)
algorithms
- the list of signature algorithms@Nonnull @NonnullElements @Unmodifiable @NotLive public List<String> getSignatureReferenceDigestMethods()
getSignatureReferenceDigestMethods
in interface SignatureSigningConfiguration
public void setSignatureReferenceDigestMethods(@Nullable List<String> algorithms)
algorithms
- a list of digest method algorithm URIs@Nullable public String getSignatureCanonicalizationAlgorithm()
getSignatureCanonicalizationAlgorithm
in interface SignatureSigningConfiguration
public void setSignatureCanonicalizationAlgorithm(@Nullable String algorithmURI)
algorithmURI
- a canonicalization algorithm URI@Nullable public Integer getSignatureHMACOutputLength()
getSignatureHMACOutputLength
in interface SignatureSigningConfiguration
public void setSignatureHMACOutputLength(@Nullable Integer length)
length
- the HMAC output length value to use when performing HMAC signing (may be null)@Nullable public NamedKeyInfoGeneratorManager getKeyInfoGeneratorManager()
getKeyInfoGeneratorManager
in interface SignatureSigningConfiguration
public void setKeyInfoGeneratorManager(@Nullable NamedKeyInfoGeneratorManager keyInfoManager)
keyInfoManager
- the KeyInfoGenerator manager to useCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.