Package eu.europa.esig.dss.diagnostic
Class CertificateWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.AbstractTokenProxy
eu.europa.esig.dss.diagnostic.CertificateWrapper
- All Implemented Interfaces:
TokenProxy
- Direct Known Subclasses:
RelatedCertificateWrapper
public class CertificateWrapper extends AbstractTokenProxy
-
Constructor Summary
Constructors Constructor Description CertificateWrapper(XmlCertificate certificate)
-
Method Summary
Methods inherited from class eu.europa.esig.dss.diagnostic.AbstractTokenProxy
arePdfModificationsDetected, equals, foundCertificates, foundRevocations, getCertificateChain, getDigestAlgorithm, getDigestMatchers, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getPdfAnnotationsOverlapConcernedPages, getPdfPageDifferenceConcernedPages, getPdfVisualDifferenceConcernedPages, getSigningCertificate, getSigningCertificatePublicKey, getSigningCertificateReference, getSigningCertificateReferences, hashCode, isCertificateChainFromTrustedStore, isSignatureIntact, isSignatureValid, isSigningCertificateReferencePresent, isSigningCertificateReferenceUnique, isTrustedChain, toString
-
Constructor Details
-
CertificateWrapper
-
-
Method Details
-
getId
-
getCurrentBasicSignature
- Specified by:
getCurrentBasicSignature
in classAbstractTokenProxy
-
getCurrentCertificateChain
- Specified by:
getCurrentCertificateChain
in classAbstractTokenProxy
-
getCurrentSigningCertificate
- Specified by:
getCurrentSigningCertificate
in classAbstractTokenProxy
-
isTrusted
public boolean isTrusted() -
isSelfSigned
public boolean isSelfSigned() -
getKeyUsages
-
isRevocationDataAvailable
public boolean isRevocationDataAvailable() -
getSources
-
getCertificateRevocationData
-
getRevocationDataById
Returns revocation data by its id- Parameters:
revocationId
-String
representing id of a revocation data to extract- Returns:
CertificateRevocationWrapper
-
isIdPkixOcspNoCheck
public boolean isIdPkixOcspNoCheck() -
isIdKpOCSPSigning
public boolean isIdKpOCSPSigning() -
getNotBefore
-
getNotAfter
-
getEntityKey
-
getCertificateTSPServiceExpiredCertsRevocationInfo
-
getSerialNumber
-
getSubjectSerialNumber
-
getTitle
-
getCommonName
-
getCountryName
-
getGivenName
-
getOrganizationIdentifier
-
getOrganizationName
-
getOrganizationalUnit
-
getEmail
-
getLocality
-
getState
-
getSurname
-
getPseudo
-
getDigestAlgoAndValue
-
isTrustedListReached
public boolean isTrustedListReached() -
getTrustServiceProviders
-
getTrustedServices
-
getCertificateDN
-
getCertificateIssuerDN
-
getAuthorityInformationAccessUrls
-
getCRLDistributionPoints
-
getOCSPAccessUrls
-
getCpsUrls
-
getPolicyIds
-
getQCStatementIds
-
getQCTypes
-
getBinaries
public byte[] getBinaries()- Specified by:
getBinaries
in classAbstractTokenProxy
-
getExtendedKeyUsages
-
getPSD2Info
-
getQCLimitValue
-
getSubjectAlternativeNames
-
getSemanticsIdentifier
-
getReadableCertificateName
-