Package eu.europa.esig.dss.diagnostic
Class CertificateRevocationWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.AbstractTokenProxy
eu.europa.esig.dss.diagnostic.RevocationWrapper
eu.europa.esig.dss.diagnostic.CertificateRevocationWrapper
- All Implemented Interfaces:
TokenProxy
Complete revocation wrapper, containing detailed certificate revocation and common information
-
Constructor Summary
ConstructorDescriptionCertificateRevocationWrapper
(XmlCertificateRevocation certificateRevocation) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns the revocation reason for the concerned certificateReturns the revocation time for the concerned certificateReturns the revocation status of the concerned certificateboolean
isKnown()
Gets if the revocation status is knownboolean
Gets if the concerned certificate has been revokedMethods inherited from class eu.europa.esig.dss.diagnostic.RevocationWrapper
equals, foundCertificates, getArchiveCutOff, getBinaries, getCurrentBasicSignature, getCurrentCertificateChain, getCurrentSigningCertificate, getDigestAlgoAndValue, getExpiredCertsOnCRL, getId, getNextUpdate, getOrigin, getProductionDate, getRevocationType, getSourceAddress, getThisUpdate, hashCode, isCertHashExtensionMatch, isCertHashExtensionPresent, isInternalRevocationOrigin
Methods inherited from class eu.europa.esig.dss.diagnostic.AbstractTokenProxy
foundRevocations, getCertificateChain, getDigestAlgorithm, getDigestMatchers, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getSignatureAlgorithm, getSigningCertificate, getSigningCertificatePublicKey, getSigningCertificateReference, getSigningCertificateReferences, isCertificateChainFromTrustedStore, isSignatureIntact, isSignatureValid, isSigningCertificateReferencePresent, isSigningCertificateReferenceUnique, isTrustedChain, toString
-
Constructor Details
-
CertificateRevocationWrapper
Default constructor- Parameters:
certificateRevocation
-XmlCertificateRevocation
-
-
Method Details
-
getStatus
Returns the revocation status of the concerned certificate- Returns:
CertificateStatus
-
getReason
Returns the revocation reason for the concerned certificate- Returns:
RevocationReason
-
getRevocationDate
-
isRevoked
public boolean isRevoked()Gets if the concerned certificate has been revoked- Returns:
- TRUE if the certificate has been revoked, FALSE otherwise
-
isKnown
public boolean isKnown()Gets if the revocation status is known- Returns:
- TRUE if the revocation status is known, FALSE otherwise
-