Class JAdESSignatureIdentifierBuilder
java.lang.Object
eu.europa.esig.dss.validation.AbstractSignatureIdentifierBuilder
eu.europa.esig.dss.jades.validation.JAdESSignatureIdentifierBuilder
- All Implemented Interfaces:
SignatureIdentifierBuilder
The DSS identifier for a JAdES signature
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.AbstractSignatureIdentifierBuilder
signature
-
Constructor Summary
ConstructorDescriptionJAdESSignatureIdentifierBuilder
(JAdESSignature signature) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
getCounterSignaturePosition
(AdvancedSignature masterSignature) Returns a current counter signature position in its master signatureprotected Integer
Returns a position of a signature in the provided fileMethods inherited from class eu.europa.esig.dss.validation.AbstractSignatureIdentifierBuilder
build, buildBinaries, getPositionId, getSignatureFilePosition, writeSignaturePosition, writeSignedProperties, writeString
-
Constructor Details
-
JAdESSignatureIdentifierBuilder
Default constructor- Parameters:
signature
-JAdESSignature
to get an identifier for
-
-
Method Details
-
getCounterSignaturePosition
Description copied from class:AbstractSignatureIdentifierBuilder
Returns a current counter signature position in its master signature- Specified by:
getCounterSignaturePosition
in classAbstractSignatureIdentifierBuilder
- Parameters:
masterSignature
-AdvancedSignature
to analyze- Returns:
- counter signature position
-
getSignaturePosition
Description copied from class:AbstractSignatureIdentifierBuilder
Returns a position of a signature in the provided file- Specified by:
getSignaturePosition
in classAbstractSignatureIdentifierBuilder
- Returns:
- signature position in a file
-