public abstract class AbstractSignatureParameters extends AbstractSerializableSignatureParameters
| Constructor and Description |
|---|
AbstractSignatureParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCertificateChain()
Clears the certificate chain
|
List<CertificateToken> |
getCertificateChain()
Set the certificate chain
|
List<TimestampToken> |
getContentTimestamps()
Returns the list of the
TimestampToken to be incorporated within the signature and representing the
content-timestamp. |
List<DSSDocument> |
getDetachedContents()
This method returns the documents to sign.
|
String |
getDeterministicId()
The ID of xades:SignedProperties is contained in the signed content of the xades Signature.
|
CertificateToken |
getSigningCertificate()
Get the signing certificate
|
void |
reinitDeterministicId()
This methods reinits the deterministicId to force to recompute it
|
void |
setCertificateChain(CertificateToken... certificateChainArray)
This method sets the list of certificates which constitute the chain.
|
void |
setCertificateChain(List<CertificateToken> certificateChain)
Set the certificate chain
|
void |
setContentTimestamps(List<TimestampToken> contentTimestamps) |
void |
setDetachedContents(List<DSSDocument> detachedContents)
When signing this method is internally invoked by the
AbstractSignatureService and the related variable
detachedContent is overwritten by the service
parameter. |
void |
setDeterministicId(String deterministicId) |
void |
setSigningCertificate(CertificateToken signingCertificate)
Set the signing certificate.
|
bLevel, equals, getArchiveTimestampParameters, getBLevelParams, getContentTimestampParameters, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getSignatureAlgorithm, getSignatureLevel, getSignaturePackaging, getSignatureTimestampParameters, hashCode, isSignWithExpiredCertificate, setArchiveTimestampParameters, setBLevelParams, setContentTimestampParameters, setDigestAlgorithm, setEncryptionAlgorithm, setMaskGenerationFunction, setSignatureLevel, setSignaturePackaging, setSignatureTimestampParameters, setSignWithExpiredCertificate, toStringpublic List<TimestampToken> getContentTimestamps()
TimestampToken to be incorporated within the signature and representing the
content-timestamp.List of TimestampTokenpublic void setContentTimestamps(List<TimestampToken> contentTimestamps)
public String getDeterministicId()
public List<DSSDocument> getDetachedContents()
public void setDetachedContents(List<DSSDocument> detachedContents)
AbstractSignatureService and the related variable
detachedContent is overwritten by the service
parameter. In the case of the DETACHED signature this is the detached document. In the case of ASiC-S this is the
document to be signed.
When extending this method must be invoked to indicate the detachedContent.detachedContents - public CertificateToken getSigningCertificate()
public void setSigningCertificate(CertificateToken signingCertificate)
signingCertificate - the valuepublic List<CertificateToken> getCertificateChain()
public void clearCertificateChain()
public void setCertificateChain(List<CertificateToken> certificateChain)
certificateChain - the List of ChainCertificatespublic void setCertificateChain(CertificateToken... certificateChainArray)
certificateChainArray - the array containing all certificates composing the chainpublic void reinitDeterministicId()
public void setDeterministicId(String deterministicId)
Copyright © 2018. All rights reserved.