Class TimestampTokenIdentifier
java.lang.Object
eu.europa.esig.dss.spi.x509.tsp.TimestampTokenIdentifier
- All Implemented Interfaces:
Serializable
Identifier for a timestamp token
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final eu.europa.esig.dss.enumerations.DigestAlgorithm -
Constructor Summary
ConstructorsConstructorDescriptionTimestampTokenIdentifier(byte[] binaries) Constructor to build a time-stamp identifier from custom binariesTimestampTokenIdentifier(TimestampToken timestampToken) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionasXmlId()booleanbyte[]byte[]getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) protected MessageDigestgetMessageDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) inthashCode()booleanisMatch(eu.europa.esig.dss.model.Digest arg0) toString()
-
Field Details
-
DIGEST_ALGO
protected static final eu.europa.esig.dss.enumerations.DigestAlgorithm DIGEST_ALGO
-
-
Constructor Details
-
TimestampTokenIdentifier
Default constructor- Parameters:
timestampToken-TimestampToken
-
TimestampTokenIdentifier
public TimestampTokenIdentifier(byte[] binaries) Constructor to build a time-stamp identifier from custom binaries- Parameters:
binaries- byte array representing the time-stamp token
-
-
Method Details
-
getBinaries
public byte[] getBinaries() -
getDigestValue
public byte[] getDigestValue(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
isMatch
public boolean isMatch(eu.europa.esig.dss.model.Digest arg0) -
getMessageDigest
-
asXmlId
-
toString
-
hashCode
-
equals
-