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 FoundCertificatesProxyfoundCertificates()Returns FoundCertificatesProxy to access embedded certificatesDategetArchiveCutOff()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 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:
getCurrentBasicSignaturein classAbstractTokenProxy
-
getCurrentCertificateChain
- Specified by:
getCurrentCertificateChainin classAbstractTokenProxy
-
getCurrentSigningCertificate
- Specified by:
getCurrentSigningCertificatein classAbstractTokenProxy
-
foundCertificates
Returns FoundCertificatesProxy to access embedded certificates- Specified by:
foundCertificatesin interfaceTokenProxy- Overrides:
foundCertificatesin classAbstractTokenProxy- Returns:
FoundCertificatesProxy
-
getProductionDate
-
getThisUpdate
-
getNextUpdate
-
getExpiredCertsOnCRL
-
getArchiveCutOff
-
isCertHashExtensionPresent
public boolean isCertHashExtensionPresent() -
isCertHashExtensionMatch
public boolean isCertHashExtensionMatch() -
getOrigin
-
getRevocationType
-
getBinaries
public byte[] getBinaries()- Specified by:
getBinariesin 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
-