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
,RelatedRevocationWrapper
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 FoundCertificatesProxy
foundCertificates()
Returns FoundCertificatesProxy to access embedded certificatesDate
getArchiveCutOff()
byte[]
getBinaries()
protected XmlBasicSignature
getCurrentBasicSignature()
protected List<XmlChainItem>
getCurrentCertificateChain()
protected XmlSigningCertificate
getCurrentSigningCertificate()
XmlDigestAlgoAndValue
getDigestAlgoAndValue()
Date
getExpiredCertsOnCRL()
String
getId()
Date
getNextUpdate()
RevocationOrigin
getOrigin()
Date
getProductionDate()
RevocationType
getRevocationType()
String
getSourceAddress()
Date
getThisUpdate()
boolean
isCertHashExtensionMatch()
boolean
isCertHashExtensionPresent()
boolean
isInternalRevocationOrigin()
Returns true if the Revocation data was obtained from a signature containerMethods inherited from class eu.europa.esig.dss.diagnostic.AbstractTokenProxy
equals, foundRevocations, getCertificateChain, getDigestAlgorithm, getDigestMatchers, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getSigningCertificate, getSigningCertificatePublicKey, getSigningCertificateReference, getSigningCertificateReferences, hashCode, isCertificateChainFromTrustedStore, isSignatureIntact, isSignatureValid, isSigningCertificateReferencePresent, isSigningCertificateReferenceUnique, isTrustedChain, toString
-
Constructor Details
-
Method Details
-
getId
-
getCurrentBasicSignature
- Specified by:
getCurrentBasicSignature
in classAbstractTokenProxy
-
getCurrentCertificateChain
- Specified by:
getCurrentCertificateChain
in classAbstractTokenProxy
-
getCurrentSigningCertificate
- Specified by:
getCurrentSigningCertificate
in classAbstractTokenProxy
-
foundCertificates
Returns FoundCertificatesProxy to access embedded certificates- Specified by:
foundCertificates
in interfaceTokenProxy
- Overrides:
foundCertificates
in classAbstractTokenProxy
- Returns:
FoundCertificatesProxy
-
getProductionDate
-
getThisUpdate
-
getNextUpdate
-
getExpiredCertsOnCRL
-
getArchiveCutOff
-
isCertHashExtensionPresent
public boolean isCertHashExtensionPresent() -
isCertHashExtensionMatch
public boolean isCertHashExtensionMatch() -
getOrigin
-
getRevocationType
-
getBinaries
public byte[] getBinaries()- Specified by:
getBinaries
in classAbstractTokenProxy
-
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
-