Class XAdESSignatureIdentifierBuilder
java.lang.Object
eu.europa.esig.dss.spi.signature.identifier.AbstractSignatureIdentifierBuilder
eu.europa.esig.dss.xades.validation.XAdESSignatureIdentifierBuilder
- All Implemented Interfaces:
IdentifierBuilder
,SignatureIdentifierBuilder
,Serializable
Builds a DSS identifier for a XAdES signature
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The META-INF folder (used to determine a signature file position in an ASiC container)Fields inherited from class eu.europa.esig.dss.spi.signature.identifier.AbstractSignatureIdentifierBuilder
signature
-
Constructor Summary
ConstructorDescriptionXAdESSignatureIdentifierBuilder
(XAdESSignature signature) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Integer
getCounterSignaturePosition
(AdvancedSignature masterSignature) Returns a current counter signature position in its master signatureprotected Object
This method returns a position of a signature file NOTE: this method returns a signature filename for ASiC containers, empty string for othersprotected Integer
Returns a position of a signature in the provided fileMethods inherited from class eu.europa.esig.dss.spi.signature.identifier.AbstractSignatureIdentifierBuilder
build, buildBinaries, getPositionId, writeSignaturePosition, writeSignedProperties, writeString
-
Field Details
-
META_INF_FOLDER
The META-INF folder (used to determine a signature file position in an ASiC container)- See Also:
-
-
Constructor Details
-
XAdESSignatureIdentifierBuilder
Default constructor- Parameters:
signature
-XAdESSignature
-
-
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
-
getSignatureFilePosition
Description copied from class:AbstractSignatureIdentifierBuilder
This method returns a position of a signature file NOTE: this method returns a signature filename for ASiC containers, empty string for others- Overrides:
getSignatureFilePosition
in classAbstractSignatureIdentifierBuilder
- Returns:
- signature file position
-