Package eu.europa.esig.dss.diagnostic
Class OrphanTokenWrapper<T extends XmlOrphanToken>
java.lang.Object
eu.europa.esig.dss.diagnostic.OrphanTokenWrapper<T>
- Type Parameters:
T
- implementation ofXmlOrphanToken
- Direct Known Subclasses:
OrphanCertificateTokenWrapper
,OrphanRevocationTokenWrapper
Represents a wrapper class for an XML orphan token
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract byte[]
Returns base64-encoded byte array of the tokenabstract XmlDigestAlgoAndValue
Returns digest of the tokengetId()
Returns identifier of the orphan tokenint
hashCode()
toString()
-
Field Details
-
orphanToken
Xml orphan token
-
-
Constructor Details
-
OrphanTokenWrapper
Default constructor- Parameters:
orphanToken
-OrphanTokenWrapper
-
-
Method Details
-
getId
-
getBinaries
public abstract byte[] getBinaries()Returns base64-encoded byte array of the token- Returns:
- byte array
-
getDigestAlgoAndValue
Returns digest of the token- Returns:
XmlDigestAlgoAndValue
-
hashCode
-
equals
-
toString
-