Package eu.europa.esig.dss.diagnostic
Class RevocationWrapper
- java.lang.Object
-
- eu.europa.esig.dss.diagnostic.AbstractTokenProxy
-
- eu.europa.esig.dss.diagnostic.RevocationWrapper
-
- All Implemented Interfaces:
TokenProxy
- Direct Known Subclasses:
CertificateRevocationWrapper
public class RevocationWrapper extends AbstractTokenProxy
Revocation wrapper containing common revocation information
-
-
Constructor Summary
Constructors Constructor Description RevocationWrapper(XmlRevocation revocation)
-
Method Summary
Modifier and Type Method Description DategetArchiveCutOff()byte[]getBinaries()protected XmlBasicSignaturegetCurrentBasicSignature()protected List<XmlChainItem>getCurrentCertificateChain()protected XmlSigningCertificategetCurrentSigningCertificate()XmlDigestAlgoAndValuegetDigestAlgoAndValue()DategetExpiredCertsOnCRL()StringgetId()DategetNextUpdate()RevocationOrigingetOrigin()DategetProductionDate()RevocationTypegetRevocationType()StringgetSourceAddress()DategetThisUpdate()booleanisCertHashExtensionMatch()booleanisCertHashExtensionPresent()booleanisInternalRevocationOrigin()Returns true if the Revocation data was obtained from a signature container-
Methods inherited from class eu.europa.esig.dss.diagnostic.AbstractTokenProxy
equals, getCertificateChain, getDigestAlgorithm, getDigestMatchers, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getSigningCertificate, getSigningCertificatePublicKey, hashCode, isAttributePresent, isCertificateChainFromTrustedStore, isDigestValueMatch, isDigestValuePresent, isIssuerSerialMatch, isSignatureIntact, isSignatureValid, isTrustedChain
-
-
-
-
Constructor Detail
-
RevocationWrapper
public RevocationWrapper(XmlRevocation revocation)
-
-
Method Detail
-
getId
public String getId()
-
getCurrentBasicSignature
protected XmlBasicSignature getCurrentBasicSignature()
- Specified by:
getCurrentBasicSignaturein classAbstractTokenProxy
-
getCurrentCertificateChain
protected List<XmlChainItem> getCurrentCertificateChain()
- Specified by:
getCurrentCertificateChainin classAbstractTokenProxy
-
getCurrentSigningCertificate
protected XmlSigningCertificate getCurrentSigningCertificate()
- Specified by:
getCurrentSigningCertificatein classAbstractTokenProxy
-
getProductionDate
public Date getProductionDate()
-
getThisUpdate
public Date getThisUpdate()
-
getNextUpdate
public Date getNextUpdate()
-
getExpiredCertsOnCRL
public Date getExpiredCertsOnCRL()
-
getArchiveCutOff
public Date getArchiveCutOff()
-
isCertHashExtensionPresent
public boolean isCertHashExtensionPresent()
-
isCertHashExtensionMatch
public boolean isCertHashExtensionMatch()
-
getOrigin
public RevocationOrigin getOrigin()
-
getRevocationType
public RevocationType getRevocationType()
-
getBinaries
public byte[] getBinaries()
- Specified by:
getBinariesin classAbstractTokenProxy
-
getDigestAlgoAndValue
public XmlDigestAlgoAndValue getDigestAlgoAndValue()
-
isInternalRevocationOrigin
public boolean isInternalRevocationOrigin()
Returns true if the Revocation data was obtained from a signature container- Returns:
- true if the revocation origin is internal, false otherwise
-
getSourceAddress
public String getSourceAddress()
-
-