Package eu.europa.esig.dss.diagnostic
Class RevocationRefWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.RevocationRefWrapper
Represents a revocation data wrapper
-
Constructor Summary
ConstructorDescriptionRevocationRefWrapper
(XmlRevocationRef revocationRef, String revocationId) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns digest algo and valueReturns a list of revocation reference originsReturns revocation ref production time if presentbyte[]
Returns responder's ID key if presentReturns responder's ID name if presentReturns an Id of the related revocation token, when present.toString()
-
Constructor Details
-
RevocationRefWrapper
Default constructor- Parameters:
revocationRef
-XmlRevocationRef
revocationId
-String
Id of the related revocation token
-
-
Method Details
-
getOrigins
Returns a list of revocation reference origins- Returns:
- a list of
RevocationRefOrigin
s
-
getProductionTime
Returns revocation ref production time if present- Returns:
Date
-
getResponderIdName
Returns responder's ID name if present- Returns:
String
-
getResponderIdKey
public byte[] getResponderIdKey()Returns responder's ID key if present- Returns:
- a byte array
-
getDigestAlgoAndValue
Returns digest algo and value- Returns:
XmlDigestAlgoAndValue
-
getRevocationId
Returns an Id of the related revocation token, when present. Returns Id of the reference otherwise.- Returns:
String
-
toString
-