public class SignatureSigningParameters extends Object
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 |
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 |
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.
|
@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 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 © 2019. All rights reserved.