Class XAdESCounterSignatureParameters
java.lang.Object
eu.europa.esig.dss.model.AbstractSerializableSignatureParameters<XAdESTimestampParameters>
eu.europa.esig.dss.signature.AbstractSignatureParameters<XAdESTimestampParameters>
eu.europa.esig.dss.xades.XAdESSignatureParameters
eu.europa.esig.dss.xades.signature.XAdESCounterSignatureParameters
- All Implemented Interfaces:
SerializableCounterSignatureParameters,SerializableSignatureParameters,Serializable
public class XAdESCounterSignatureParameters
extends XAdESSignatureParameters
implements SerializableCounterSignatureParameters
Parameters for a XAdES counter-signature creation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.europa.esig.dss.xades.XAdESSignatureParameters
XAdESSignatureParameters.XPathElementPlacement -
Field Summary
Fields inherited from class eu.europa.esig.dss.signature.AbstractSignatureParameters
contextFields inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
archiveTimestampParameters, contentTimestampParameters, signatureTimestampParameters -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a canonicalization method used for a counter-signed SignatureValueThe deterministic identifier used for unique identification of a created signature (used in XAdES and PAdES).Returns Id of a signature that needs to be counter signedinthashCode()voidsetCounterSignatureCanonicalizationMethod(String counterSignatureCanonicalizationMethod) Sets a canonicalization method used for a counter-signed SignatureValuevoidsetSignatureIdToCounterSign(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.toString()Methods inherited from class eu.europa.esig.dss.xades.XAdESSignatureParameters
getArchiveTimestampParameters, getContentTimestampParameters, getContext, getDataObjectFormatList, getKeyInfoCanonicalizationMethod, getObjects, getReferences, getRootDocument, getSignatureTimestampParameters, getSignedAdESObject, getSignedInfoCanonicalizationMethod, getSignedPropertiesCanonicalizationMethod, getSigningCertificateDigestMethod, getTokenReferencesDigestAlgorithm, getXades141Namespace, getXadesNamespace, getXmldsigNamespace, getXPathElementPlacement, getXPathLocationString, isAddX509SubjectName, isEmbedXML, isEn319132, isManifestSignature, isPrettyPrint, isSignKeyInfo, reinit, setAddX509SubjectName, setDataObjectFormatList, setEmbedXML, setEn319132, setKeyInfoCanonicalizationMethod, setManifestSignature, setObjects, setPrettyPrint, setReferences, setRootDocument, setRootDocument, setSignatureLevel, setSignedAdESObject, setSignedInfoCanonicalizationMethod, setSignedPropertiesCanonicalizationMethod, setSigningCertificateDigestMethod, setSignKeyInfo, setTokenReferencesDigestAlgorithm, setXades141Namespace, setXadesNamespace, setXmldsigNamespace, setXPathElementPlacement, setXPathLocationStringMethods inherited from class eu.europa.esig.dss.signature.AbstractSignatureParameters
getCertificateChain, getContentTimestamps, getDetachedContents, getSignedData, getSigningCertificate, setCertificateChain, setCertificateChain, setContentTimestamps, setDetachedContents, setSignedData, setSigningCertificateMethods inherited from class eu.europa.esig.dss.model.AbstractSerializableSignatureParameters
bLevel, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getReferenceDigestAlgorithm, getSignatureAlgorithm, getSignatureLevel, getSignaturePackaging, isCheckCertificateRevocation, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, isSignWithNotYetValidCertificate, setArchiveTimestampParameters, setBLevelParams, setCheckCertificateRevocation, setContentTimestampParameters, setDigestAlgorithm, setEncryptionAlgorithm, setGenerateTBSWithoutCertificate, setMaskGenerationFunction, setReferenceDigestAlgorithm, setSignaturePackaging, setSignatureTimestampParameters, setSignWithExpiredCertificate, setSignWithNotYetValidCertificateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface eu.europa.esig.dss.model.SerializableSignatureParameters
bLevel, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getSignatureAlgorithm, getSigningCertificate, isCheckCertificateRevocation, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, isSignWithNotYetValidCertificate
-
Constructor Details
-
XAdESCounterSignatureParameters
public XAdESCounterSignatureParameters()Default constructor instantiating object with null values
-
-
Method Details
-
getSignatureIdToCounterSign
Description copied from interface:SerializableCounterSignatureParametersReturns Id of a signature that needs to be counter signed- Specified by:
getSignatureIdToCounterSignin interfaceSerializableCounterSignatureParameters- Returns:
Stringsignature id
-
setSignatureIdToCounterSign
Description copied from interface:SerializableCounterSignatureParametersSets 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:
setSignatureIdToCounterSignin interfaceSerializableCounterSignatureParameters- Parameters:
signatureId-Stringid of a signature to be counter signed
-
getCounterSignatureCanonicalizationMethod
-
setCounterSignatureCanonicalizationMethod
-
getDeterministicId
Description copied from class:AbstractSignatureParametersThe deterministic identifier used for unique identification of a created signature (used in XAdES and PAdES). The identifier shall be built in a deterministic way to ensure the same value on both method calls during the signature creation.- Overrides:
getDeterministicIdin classAbstractSignatureParameters<XAdESTimestampParameters>- Returns:
- the unique ID for the current signature or a document
-
toString
- Overrides:
toStringin classAbstractSerializableSignatureParameters<XAdESTimestampParameters>
-
equals
- Overrides:
equalsin classAbstractSerializableSignatureParameters<XAdESTimestampParameters>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSerializableSignatureParameters<XAdESTimestampParameters>
-