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
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
equals, getCertificateChain, getDigestAlgorithm, getDigestMatchers, getEncryptionAlgorithm, getKeyLengthUsedToSignThisToken, getMaskGenerationFunction, getSigningCertificate, getSigningCertificatePublicKey, hashCode, isAttributePresent, isCertificateChainFromTrustedStore, isDigestValueMatch, isDigestValuePresent, isIssuerSerialMatch, isSignatureIntact, isSignatureValid, 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
-
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
-
getCertificateTSPServiceExpiredCertsRevocationInfo
-
getSerialNumber
-
getCommonName
-
getCountryName
-
getGivenName
-
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
-
getReadableCertificateName
-