Package eu.europa.esig.dss.model
Interface SerializableCounterSignatureParameters
- All Superinterfaces:
Serializable
,SerializableSignatureParameters
- All Known Implementing Classes:
CAdESCounterSignatureParameters
,JAdESCounterSignatureParameters
,XAdESCounterSignatureParameters
The interface contains the common methods for counter signature parameters
-
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 interface eu.europa.esig.dss.model.SerializableSignatureParameters
bLevel, getDigestAlgorithm, getEncryptionAlgorithm, getMaskGenerationFunction, getSignatureAlgorithm, getSigningCertificate, isCheckCertificateRevocation, isGenerateTBSWithoutCertificate, isSignWithExpiredCertificate, isSignWithNotYetValidCertificate
-
Method Details
-
getSignatureIdToCounterSign
String getSignatureIdToCounterSign()Returns Id of a signature that needs to be counter signed- Returns:
String
signature id
-
setSignatureIdToCounterSign
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)- Parameters:
signatureId
-String
id of a signature to be counter signed
-