Package eu.europa.esig.dss.diagnostic
Class OrphanRevocationTokenWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.OrphanTokenWrapper<XmlOrphanRevocationToken>
eu.europa.esig.dss.diagnostic.OrphanRevocationTokenWrapper
-
Field Summary
Fields inherited from class eu.europa.esig.dss.diagnostic.OrphanTokenWrapper
orphanToken
-
Constructor Summary
ModifierConstructorDescriptionprotected
OrphanRevocationTokenWrapper
(XmlOrphanRevocationToken orphanToken) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns base64-encoded byte array of the tokenReturns digest of the tokenReturns a revocation data type (CRL or OCSP)Methods inherited from class eu.europa.esig.dss.diagnostic.OrphanTokenWrapper
equals, getId, hashCode, toString
-
Constructor Details
-
OrphanRevocationTokenWrapper
Default constructor- Parameters:
orphanToken
-XmlOrphanRevocationToken
-
-
Method Details
-
getRevocationType
Returns a revocation data type (CRL or OCSP)- Returns:
RevocationType
-
getBinaries
public byte[] getBinaries()Description copied from class:OrphanTokenWrapper
Returns base64-encoded byte array of the token- Specified by:
getBinaries
in classOrphanTokenWrapper<XmlOrphanRevocationToken>
- Returns:
- byte array
-
getDigestAlgoAndValue
Description copied from class:OrphanTokenWrapper
Returns digest of the token- Specified by:
getDigestAlgoAndValue
in classOrphanTokenWrapper<XmlOrphanRevocationToken>
- Returns:
XmlDigestAlgoAndValue
-