Package eu.europa.esig.dss.cades
Class CAdESSignatureParameters
java.lang.Object
eu.europa.esig.dss.model.AbstractSerializableSignatureParameters<TP>
eu.europa.esig.dss.AbstractSignatureParameters<CAdESTimestampParameters>
eu.europa.esig.dss.cades.CAdESSignatureParameters
- All Implemented Interfaces:
SerializableSignatureParameters,Serializable
- Direct Known Subclasses:
ASiCWithCAdESSignatureParameters,PAdESSignatureParameters
public class CAdESSignatureParameters extends AbstractSignatureParameters<CAdESTimestampParameters>
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
archiveTimestampParameters, contentTimestampParameters, signatureTimestampParameters -
Constructor Summary
Constructors Constructor Description CAdESSignatureParameters() -
Method Summary
Modifier and Type Method Description CAdESTimestampParametersgetArchiveTimestampParameters()Get the parameters for achive timestamp (Baseline-LTA)StringgetContentHintsDescription()StringgetContentHintsType()StringgetContentIdentifierPrefix()ETSI TS 101 733 V2.2.1 (2013-04) 5.10.2 content-identifier Attribute The content-identifier attribute provides an identifier for the signed content, for use when a reference may be later required to that content; for example, in the content-reference attribute in other signed data sent later.StringgetContentIdentifierSuffix()THIS VALUE WILL BE SET AUTOMATICALLY IF LEFT BLANK ETSI TS 101 733 V2.2.1 (2013-04) 5.10.2 content-identifier Attribute The content-identifier attribute provides an identifier for the signed content, for use when a reference may be later required to that content; for example, in the content-reference attribute in other signed data sent later.CAdESTimestampParametersgetContentTimestampParameters()Get the parameters for content timestamp (Baseline-B)CAdESTimestampParametersgetSignatureTimestampParameters()Get the parameters for signature timestamp (Baseline-T)booleanisEn319122()voidsetContentHintsDescription(String contentHintsDescription)voidsetContentHintsType(String contentHintsType)voidsetContentIdentifierPrefix(String contentIdentifierPrefix)voidsetContentIdentifierSuffix(String contentIdentifierSuffix)voidsetEn319122(boolean en319122)Methods inherited from class eu.europa.esig.dss.AbstractSignatureParameters
getCertificateChain, getContentTimestamps, getDetachedContents, getDeterministicId, getSignedData, getSigningCertificate, reinitDeterministicId, setCertificateChain, setCertificateChain, setContentTimestamps, setDetachedContents, setSignedData, setSigningCertificateMethods inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
bLevel, equals, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getReferenceDigestAlgorithm, getSignatureAlgorithm, getSignatureLevel, getSignaturePackaging, hashCode, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, setArchiveTimestampParameters, setBLevelParams, setContentTimestampParameters, setDigestAlgorithm, setEncryptionAlgorithm, setGenerateTBSWithoutCertificate, setMaskGenerationFunction, setReferenceDigestAlgorithm, setSignatureLevel, setSignaturePackaging, setSignatureTimestampParameters, setSignWithExpiredCertificate, toString
-
Constructor Details
-
CAdESSignatureParameters
public CAdESSignatureParameters()
-
-
Method Details
-
isEn319122
public boolean isEn319122() -
setEn319122
public void setEn319122(boolean en319122) -
getContentHintsType
-
setContentHintsType
-
getContentHintsDescription
-
setContentHintsDescription
-
getContentIdentifierSuffix
THIS VALUE WILL BE SET AUTOMATICALLY IF LEFT BLANK ETSI TS 101 733 V2.2.1 (2013-04) 5.10.2 content-identifier Attribute The content-identifier attribute provides an identifier for the signed content, for use when a reference may be later required to that content; for example, in the content-reference attribute in other signed data sent later. The content-identifier shall be a signed attribute. content-identifier attribute type values for the ES have an ASN.1 type ContentIdentifier, as defined in ESS (RFC 2634 [5]). The minimal content-identifier attribute should contain a concatenation of user-specific identification information (such as a user name or public keying material identification information), a GeneralizedTime string, and a random number.- Returns:
-
setContentIdentifierSuffix
- Parameters:
contentIdentifierSuffix-- See Also:
getContentIdentifierSuffix()
-
getContentIdentifierPrefix
ETSI TS 101 733 V2.2.1 (2013-04) 5.10.2 content-identifier Attribute The content-identifier attribute provides an identifier for the signed content, for use when a reference may be later required to that content; for example, in the content-reference attribute in other signed data sent later. The content-identifier shall be a signed attribute. content-identifier attribute type values for the ES have an ASN.1 type ContentIdentifier, as defined in ESS (RFC 2634 [5]). The minimal content-identifier attribute should contain a concatenation of user-specific identification information (such as a user name or public keying material identification information), a GeneralizedTime string, and a random number.- Returns:
-
setContentIdentifierPrefix
- Parameters:
contentIdentifierPrefix-- See Also:
getContentIdentifierPrefix()
-
getContentTimestampParameters
Description copied from class:AbstractSerializableSignatureParametersGet the parameters for content timestamp (Baseline-B)- Overrides:
getContentTimestampParametersin classAbstractSerializableSignatureParameters<CAdESTimestampParameters>- Returns:
- the parameters to produce a content timestamp
-
getSignatureTimestampParameters
Description copied from class:AbstractSerializableSignatureParametersGet the parameters for signature timestamp (Baseline-T)- Overrides:
getSignatureTimestampParametersin classAbstractSerializableSignatureParameters<CAdESTimestampParameters>- Returns:
- the parameters to produce a signature timestamp
-
getArchiveTimestampParameters
Description copied from class:AbstractSerializableSignatureParametersGet the parameters for achive timestamp (Baseline-LTA)- Overrides:
getArchiveTimestampParametersin classAbstractSerializableSignatureParameters<CAdESTimestampParameters>- Returns:
- the parameters to produce an archive timestamp
-