Class JAdESCounterSignatureParameters
java.lang.Object
eu.europa.esig.dss.model.AbstractSerializableSignatureParameters<JAdESTimestampParameters>
eu.europa.esig.dss.signature.AbstractSignatureParameters<JAdESTimestampParameters>
eu.europa.esig.dss.jades.JAdESSignatureParameters
eu.europa.esig.dss.jades.signature.JAdESCounterSignatureParameters
- All Implemented Interfaces:
SerializableCounterSignatureParameters
,SerializableSignatureParameters
,Serializable
public class JAdESCounterSignatureParameters
extends JAdESSignatureParameters
implements SerializableCounterSignatureParameters
Parameters to create a JAdES counter-signature
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.signature.AbstractSignatureParameters
context
Fields inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
archiveTimestampParameters, contentTimestampParameters, signatureTimestampParameters
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null signature id to be counter-signed -
Method Summary
Modifier and TypeMethodDescriptionReturns Id of a signature that needs to be counter signedvoid
setSignatureIdToCounterSign
(String signatureId) Sets the Id of a signature to be counter signed NOTE: The id shall represent the DSS (hash-based) id of a signature or a provided id in the signature document, when available (i.e.Methods inherited from class eu.europa.esig.dss.jades.JAdESSignatureParameters
getArchiveTimestampParameters, getContentTimestampParameters, getJadesSigningTimeType, getJwsSerializationType, getSigDMechanism, getSignatureTimestampParameters, getSigningCertificateDigestMethod, getX509Url, isBase64UrlEncodedEtsiUComponents, isBase64UrlEncodedPayload, isIncludeCertificateChain, isIncludeKeyIdentifier, isIncludeSignatureType, setBase64UrlEncodedEtsiUComponents, setBase64UrlEncodedPayload, setIncludeCertificateChain, setIncludeKeyIdentifier, setIncludeSignatureType, setJadesSigningTimeType, setJwsSerializationType, setSigDMechanism, setSignatureLevel, setSigningCertificateDigestMethod, setX509Url
Methods inherited from class eu.europa.esig.dss.signature.AbstractSignatureParameters
getCertificateChain, getContentTimestamps, getContext, getDetachedContents, getDeterministicId, getSignedData, getSigningCertificate, reinit, setCertificateChain, setCertificateChain, setContentTimestamps, setDetachedContents, setSignedData, setSigningCertificate
Methods inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
bLevel, equals, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getReferenceDigestAlgorithm, getSignatureAlgorithm, getSignatureLevel, getSignaturePackaging, hashCode, isCheckCertificateRevocation, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, isSignWithNotYetValidCertificate, setArchiveTimestampParameters, setBLevelParams, setCheckCertificateRevocation, setContentTimestampParameters, setDigestAlgorithm, setEncryptionAlgorithm, setGenerateTBSWithoutCertificate, setMaskGenerationFunction, setReferenceDigestAlgorithm, setSignaturePackaging, setSignatureTimestampParameters, setSignWithExpiredCertificate, setSignWithNotYetValidCertificate, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.model.SerializableSignatureParameters
bLevel, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getSignatureAlgorithm, getSigningCertificate, isCheckCertificateRevocation, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, isSignWithNotYetValidCertificate
-
Constructor Details
-
JAdESCounterSignatureParameters
public JAdESCounterSignatureParameters()Default constructor instantiating object with null signature id to be counter-signed
-
-
Method Details
-
getSignatureIdToCounterSign
Description copied from interface:SerializableCounterSignatureParameters
Returns Id of a signature that needs to be counter signed- Specified by:
getSignatureIdToCounterSign
in interfaceSerializableCounterSignatureParameters
- Returns:
String
signature id
-
setSignatureIdToCounterSign
Description copied from interface:SerializableCounterSignatureParameters
Sets the Id of a signature to be counter signed NOTE: The id shall represent the DSS (hash-based) id of a signature or a provided id in the signature document, when available (i.e. XML Id for a XAdES signature)- Specified by:
setSignatureIdToCounterSign
in interfaceSerializableCounterSignatureParameters
- Parameters:
signatureId
-String
id of a signature to be counter signed
-