public class SignatureSigningParameters extends Object
Modifier and Type | Field and Description |
---|---|
private KeyInfoGenerator |
keyInfoGenerator
The KeyInfo generator.
|
private String |
signatureAlgorithmURI
The signature algorithm URI.
|
private String |
signatureCanonicalizationAlgorithm
The signature canonicalization algorithm URI.
|
private Integer |
signatureHMACOutputLength
The signature HMAC output length value.
|
private String |
signatureReferenceCanonicalizationAlgorithm
The signature reference canonicalization transform algorithm.
|
private String |
signatureReferenceDigestMethod
The signature reference digest method URI.
|
private Credential |
signingCredential
The signing credential.
|
Constructor and Description |
---|
SignatureSigningParameters() |
Modifier and Type | Method and Description |
---|---|
KeyInfoGenerator |
getKeyInfoGenerator()
Get the KeyInfoGenerator to use when generating the Signature/KeyInfo.
|
String |
getSignatureAlgorithm()
Get the signature algorithm URI to use when signing.
|
String |
getSignatureCanonicalizationAlgorithm()
Get a canonicalization algorithm URI suitable for use as a Signature CanonicalizationMethod value.
|
Integer |
getSignatureHMACOutputLength()
Get the value to be used as the Signature SignatureMethod HMACOutputLength value, used
only when signing with an HMAC algorithm.
|
String |
getSignatureReferenceCanonicalizationAlgorithm()
Get a canonicalization algorithm URI suitable for use as a Signature Reference Transform value.
|
String |
getSignatureReferenceDigestMethod()
Get a digest method algorithm URI suitable for use as a Signature Reference DigestMethod value.
|
Credential |
getSigningCredential()
Get the signing credential to use when signing.
|
void |
setKeyInfoGenerator(KeyInfoGenerator generator)
Set the KeyInfoGenerator to use when generating the Signature/KeyInfo.
|
void |
setSignatureAlgorithm(String uri)
Set the signature algorithm URI to use when signing.
|
void |
setSignatureCanonicalizationAlgorithm(String uri)
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 |
setSignatureReferenceCanonicalizationAlgorithm(String uri)
Get a canonicalization algorithm URI suitable for use as a Signature Reference Transform value.
|
void |
setSignatureReferenceDigestMethod(String uri)
Set a digest method algorithm URI suitable for use as a Signature Reference DigestMethod value.
|
void |
setSigningCredential(Credential credential)
Set the signing credential to use when signing.
|
private Credential signingCredential
private String signatureAlgorithmURI
private String signatureReferenceDigestMethod
private String signatureReferenceCanonicalizationAlgorithm
private String signatureCanonicalizationAlgorithm
private Integer signatureHMACOutputLength
private KeyInfoGenerator keyInfoGenerator
@Nullable public Credential getSigningCredential()
public void setSigningCredential(@Nullable Credential credential)
credential
- the signing credential@Nullable public String getSignatureAlgorithm()
public void setSignatureAlgorithm(@Nullable String uri)
uri
- a signature algorithm URI mapping@Nullable public String getSignatureReferenceDigestMethod()
public void setSignatureReferenceDigestMethod(@Nullable String uri)
uri
- a digest method algorithm URI@Nullable public String getSignatureReferenceCanonicalizationAlgorithm()
public void setSignatureReferenceCanonicalizationAlgorithm(@Nullable String uri)
uri
- a canonicalization algorithm URI@Nullable public String getSignatureCanonicalizationAlgorithm()
public void setSignatureCanonicalizationAlgorithm(@Nullable String uri)
uri
- a canonicalization algorithm URI@Nullable public Integer getSignatureHMACOutputLength()
public void setSignatureHMACOutputLength(@Nullable Integer length)
length
- the configured HMAC output length value@Nullable public KeyInfoGenerator getKeyInfoGenerator()
public void setKeyInfoGenerator(@Nullable KeyInfoGenerator generator)
generator
- the KeyInfoGenerator instanceCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.