Uses of Class
eu.europa.esig.dss.model.x509.CertificateToken
Packages that use CertificateToken
Package
Description
-
Uses of CertificateToken in eu.europa.esig.dss
Methods in eu.europa.esig.dss that return CertificateTokenModifier and TypeMethodDescriptionAbstractSignatureParameters.getSigningCertificate()Get the signing certificateMethods in eu.europa.esig.dss that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionAbstractSignatureParameters.getCertificateChain()Set the certificate chainCertificateReorderer.getOrderedCertificateChains()This method is used to order the certificates (signing certificate, CA1, CA2 and Root)CertificateReorderer.getOrderedCertificateChains()This method is used to order the certificates (signing certificate, CA1, CA2 and Root)CertificateReorderer.getOrderedCertificates()This method is used to order the certificates (signing certificate, CA1, CA2 and Root)Methods in eu.europa.esig.dss with parameters of type CertificateTokenModifier and TypeMethodDescriptionvoidAbstractSignatureParameters.setCertificateChain(CertificateToken... certificateChainArray) This method sets the list of certificates which constitute the chain.voidAbstractSignatureParameters.setSigningCertificate(CertificateToken signingCertificate) Set the signing certificate.Method parameters in eu.europa.esig.dss with type arguments of type CertificateTokenModifier and TypeMethodDescriptionvoidAbstractSignatureParameters.setCertificateChain(List<CertificateToken> certificateChain) Set the certificate chainConstructors in eu.europa.esig.dss with parameters of type CertificateTokenModifierConstructorDescriptionprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate) The default constructorprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate, List<CertificateToken> certificateChain) A constructor with a certificateChainCertificateReorderer(CertificateToken signingCertificate, Collection<CertificateToken> certificateChain) Constructor which takes a potential signing certificate and a certificate chainConstructor parameters in eu.europa.esig.dss with type arguments of type CertificateTokenModifierConstructorDescriptionprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate, List<CertificateToken> certificateChain) A constructor with a certificateChainCertificateReorderer(CertificateToken signingCertificate, Collection<CertificateToken> certificateChain) Constructor which takes a potential signing certificate and a certificate chainCertificateReorderer(Collection<CertificateToken> certificateChain) Constructor which takes a collection of certificates where DSS needs to find the signing certificate -
Uses of CertificateToken in eu.europa.esig.dss.cades
Methods in eu.europa.esig.dss.cades with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic voidCMSUtils.addSigningCertificateAttribute(org.bouncycastle.asn1.ASN1EncodableVector signedAttributes, DigestAlgorithm digestAlgorithm, CertificateToken signingToken) Method to add signing certificate to ASN.1 DER encoded signed attributes. -
Uses of CertificateToken in eu.europa.esig.dss.cades.signature
Constructor parameters in eu.europa.esig.dss.cades.signature with type arguments of type CertificateTokenModifierConstructorDescriptionCadesLevelBaselineLTATimestampExtractor(org.bouncycastle.cms.CMSSignedData cmsSignedData, Collection<CertificateToken> certificates) Constructor with a custom collection of certificates -
Uses of CertificateToken in eu.europa.esig.dss.crl
Methods in eu.europa.esig.dss.crl that return CertificateTokenMethods in eu.europa.esig.dss.crl with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic CRLValidityCRLUtils.buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) This method verifies and creates: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out.ICRLUtils.buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out.voidCRLValidity.setIssuerToken(CertificateToken issuerToken) Sets the issuer certificateToken -
Uses of CertificateToken in eu.europa.esig.dss.crl.stream.impl
Methods in eu.europa.esig.dss.crl.stream.impl with parameters of type CertificateTokenModifier and TypeMethodDescriptionCRLUtilsStreamImpl.buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) -
Uses of CertificateToken in eu.europa.esig.dss.crl.x509.impl
Methods in eu.europa.esig.dss.crl.x509.impl with parameters of type CertificateTokenModifier and TypeMethodDescriptionCRLUtilsX509CRLImpl.buildCRLValidity(CRLBinary crlBinary, CertificateToken issuerToken) This method verifies: the signature of the CRL, the key usage of its signing certificate and the coherence between the subject names of the CRL signing certificate and the issuer name of the certificate for which the verification of the revocation data is carried out. -
Uses of CertificateToken in eu.europa.esig.dss.jades
Methods in eu.europa.esig.dss.jades with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic StringDSSJsonUtils.generateKid(CertificateToken signingCertificate) Generates the 'kid' value as in IETF RFC 5035 -
Uses of CertificateToken in eu.europa.esig.dss.jades.signature
Methods in eu.europa.esig.dss.jades.signature with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected voidJAdESLevelBaselineB.incorporateSigningCertificateOtherDigestReference(CertificateToken signingCertificate, DigestAlgorithm digestAlgorithm) Incorporates 5.2.2.2 The x5t#o (X509 certificate digest) header parameterprotected voidJAdESLevelBaselineB.incorporateSigningCertificateSha256Thumbprint(CertificateToken signingCertificate) Incorporates 5.1.7 The x5t#S256 (X.509 Certificate SHA-256 Thumbprint) header parameterbooleanJAdESService.isValidSignatureValue(ToBeSigned toBeSigned, SignatureValue signatureValue, CertificateToken signingCertificate) Method parameters in eu.europa.esig.dss.jades.signature with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected org.jose4j.json.internal.json_simple.JSONArrayJAdESLevelBaselineLT.getXVals(Set<CertificateToken> certificateValuesToAdd) Builds and returns 'xVals' JSONArrayprotected voidJAdESLevelBaselineLT.incorporateXVals(JAdESEtsiUHeader etsiUHeader, Set<CertificateToken> certificateValuesToAdd, boolean base64UrlEncoded) Incorporates the provided set of certificates intoetsiUHeader -
Uses of CertificateToken in eu.europa.esig.dss.jades.validation
Methods in eu.europa.esig.dss.jades.validation that return CertificateTokenModifier and TypeMethodDescriptionKidCertificateSource.addCertificate(CertificateToken certificateToAdd) KidCertificateSource.addCertificate(String kid, CertificateToken certificate) Adds a certificate for a given 'kid' (JWS/JAdES)KidCertificateSource.getCertificateByKid(String kid) Gets aCertificateTokenby the given KIDMethods in eu.europa.esig.dss.jades.validation that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionJAdESCertificateSource.getKeyIdentifierCertificates()Retrieves the Set ofCertificateTokens according to a reference present within a 'kid' (key identifier) headerMethods in eu.europa.esig.dss.jades.validation with parameters of type CertificateTokenModifier and TypeMethodDescriptionKidCertificateSource.addCertificate(CertificateToken certificateToAdd) KidCertificateSource.addCertificate(String kid, CertificateToken certificate) Adds a certificate for a given 'kid' (JWS/JAdES) -
Uses of CertificateToken in eu.europa.esig.dss.model
Methods in eu.europa.esig.dss.model that return CertificateTokenModifier and TypeMethodDescriptionSerializableSignatureParameters.getSigningCertificate()Get the signing certificate -
Uses of CertificateToken in eu.europa.esig.dss.model.identifier
Constructors in eu.europa.esig.dss.model.identifier with parameters of type CertificateTokenModifierConstructorDescriptionCertificateTokenIdentifier(CertificateToken certificateToken) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.model.x509
Methods in eu.europa.esig.dss.model.x509 with parameters of type CertificateTokenModifier and TypeMethodDescriptionbooleanCertificateToken.isEquivalent(CertificateToken token) This method returns true if the given token is equivalent.booleanToken.isSignedBy(CertificateToken token) Checks if the token is signed by the given token in the parameter. -
Uses of CertificateToken in eu.europa.esig.dss.model.x509.extension
Methods in eu.europa.esig.dss.model.x509.extension with parameters of type CertificateTokenModifier and TypeMethodDescriptionvoidCertificateExtension.checkCritical(CertificateToken certificateToken) Checks and sets whether the certificate extension is critical -
Uses of CertificateToken in eu.europa.esig.dss.pades.validation
Methods in eu.europa.esig.dss.pades.validation that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionPAdESCertificateSource.getCertificateMap()Gets the map of certificate PDF object ids and the certificateTokensPAdESCertificateSource.getCertificateValues()PAdESCertificateSource.getDSSDictionaryCertValues()PAdESCertificateSource.getVRIDictionaryCertValues()Methods in eu.europa.esig.dss.pades.validation with parameters of type CertificateTokenModifier and TypeMethodDescriptionPAdESCRLSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) PAdESOCSPSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) -
Uses of CertificateToken in eu.europa.esig.dss.pades.validation.dss
Methods in eu.europa.esig.dss.pades.validation.dss that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionPdfDssDictCertificateSource.getCertificateMap()Gets a map of PDF object ids and corresponding certificate tokensprotected Set<CertificateToken>PdfCompositeDssDictCertificateSource.getCertificateTokensByObjectId(Long objectId) This method returns a set ofCertificateTokens with the given PDF object idPdfDssDictCertificateSource.getDSSDictionaryCertValues()Gets list of DSS dictionary certificate tokensPdfDssDictCertificateSource.getVRIDictionaryCertValues()Gets list of certificate tokens extracted from all VRI dictionariesMethods in eu.europa.esig.dss.pades.validation.dss with parameters of type CertificateTokenModifier and TypeMethodDescriptionPdfDssDictCRLSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) PdfDssDictOCSPSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) -
Uses of CertificateToken in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionAbstractPdfDssDict.getCERTs()PdfDssDict.getCERTs()Returns a map of unique identifiers and Certificate Tokensstatic Map<Long,CertificateToken> DSSDictionaryExtractionUtils.getCertsFromArray(PdfDict dict, String dictionaryName, String arrayName) Extract certificate object map -
Uses of CertificateToken in eu.europa.esig.dss.service.crl
Methods in eu.europa.esig.dss.service.crl with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected RevocationToken<CRL>JdbcCacheCRLSource.buildRevocationTokenFromResult(SqlRecord response, CertificateToken certificateToken, CertificateToken issuerCertificateToken) JdbcCacheCRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) JdbcCacheCRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh) OnlineCRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) OnlineCRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken, List<String> alternativeUrls) OnlineCRLSource.getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken) protected OnlineRevocationSource.RevocationTokenAndUrl<CRL>OnlineCRLSource.getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken, List<String> crlUrls) Extracts a CRL token for acertificateTokenfrom the given list ofcrlUrlsprotected StringJdbcCacheCRLSource.getRevocationTokenKey(CertificateToken certificateToken, String urlString) JdbcCacheCRLSource.initRevocationTokenKeys(CertificateToken certificateToken) Returns a revocation token key -
Uses of CertificateToken in eu.europa.esig.dss.service.http.commons
Methods in eu.europa.esig.dss.service.http.commons that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionSSLCertificateLoader.getCertificates(String urlString) The method to extract SSL-certificates from the given web page -
Uses of CertificateToken in eu.europa.esig.dss.service.ocsp
Methods in eu.europa.esig.dss.service.ocsp with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected RevocationToken<OCSP>JdbcCacheOCSPSource.buildRevocationTokenFromResult(SqlRecord response, CertificateToken certificateToken, CertificateToken issuerCert) JdbcCacheOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) JdbcCacheOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh) OnlineOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) OnlineOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls) OnlineOCSPSource.getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken) protected OnlineRevocationSource.RevocationTokenAndUrl<OCSP>OnlineOCSPSource.getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken, List<String> ocspUrls) Extracts an OCSP token for acertificateTokenfrom the given list ofocspUrlsprotected StringJdbcCacheOCSPSource.getRevocationTokenKey(CertificateToken certificateToken, String urlString) JdbcCacheOCSPSource.initRevocationTokenKeys(CertificateToken certificateToken) -
Uses of CertificateToken in eu.europa.esig.dss.service.x509.aia
Methods in eu.europa.esig.dss.service.x509.aia that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected Set<CertificateToken>JdbcCacheAIASource.findCertificates(String key) Method parameters in eu.europa.esig.dss.service.x509.aia with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected voidJdbcCacheAIASource.insertCertificates(String aiaUrl, Collection<CertificateToken> certificateTokens) -
Uses of CertificateToken in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionBaselineBCertificateSelector.getCertificates()Returns a certificate chain for a B-level signature creationMethods in eu.europa.esig.dss.signature with parameters of type CertificateTokenModifier and TypeMethodDescriptionvoidSignatureRequirementsChecker.assertSigningCertificateIsValid(CertificateToken certificateToken) This method verifies whether the provided certificate token is acceptable for a signature creation against the providedsignatureParametersbooleanAbstractSignatureService.isValidSignatureValue(ToBeSigned toBeSigned, SignatureValue signatureValue, CertificateToken signingCertificate) booleanDocumentSignatureService.isValidSignatureValue(ToBeSigned toBeSigned, SignatureValue signatureValue, CertificateToken signingCertificate) Verifies the signature value against aToBeSignedand aCertificateTokenbooleanMultipleDocumentsSignatureService.isValidSignatureValue(ToBeSigned toBeSigned, SignatureValue signatureValue, CertificateToken signingCertificate) Verifies the signature value against aToBeSignedand aCertificateToken -
Uses of CertificateToken in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return CertificateTokenModifier and TypeMethodDescriptionstatic CertificateTokenDSSASN1Utils.getCertificate(org.bouncycastle.cert.X509CertificateHolder x509CertificateHolder) Extract the certificate token fromX509CertificateHolderstatic CertificateTokenDSSUtils.loadCertificate(byte[] input) This method loads a certificate from the byte array.static CertificateTokenDSSUtils.loadCertificate(File file) This method loads a certificate from the given location.static CertificateTokenDSSUtils.loadCertificate(InputStream inputStream) This method loads a certificate from the given location.static CertificateTokenDSSUtils.loadCertificateFromBase64EncodedString(String base64Encoded) This method loads a certificate from a base 64 encoded StringMethods in eu.europa.esig.dss.spi that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionstatic List<CertificateToken>DSSUtils.loadCertificateFromP7c(InputStream is) Loads a collection of certificates from a p7c sourceMethods in eu.europa.esig.dss.spi with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic booleanDSSRevocationUtils.checkIssuerValidAtRevocationProductionTime(RevocationToken<?> revocationToken, CertificateToken issuerCertificateToken) Checks if the revocation has been produced during the issuer certificate validity rangestatic byte[]DSSASN1Utils.computeSkiFromCert(CertificateToken certificateToken) Computes SHA-1 hash of thecertificateToken's public keystatic StringDSSUtils.convertToPEM(CertificateToken cert) This method converts the given certificate into its PEM string.static AuthorityInformationAccessCertificateExtensionsUtils.getAuthorityInformationAccess(CertificateToken certificateToken) Returns the authority information access, when presentstatic AuthorityKeyIdentifierCertificateExtensionsUtils.getAuthorityKeyIdentifier(CertificateToken certificateToken) Returns the subject key identifier, when presentstatic byte[]DSSASN1Utils.getAuthorityKeyIdentifier(CertificateToken certificateToken) Deprecated.since DSS 5.12.static BasicConstraintsCertificateExtensionsUtils.getBasicConstraints(CertificateToken certificateToken) Returns a basic constraints extension, when presentDSSASN1Utils.getCAAccessLocations(CertificateToken certificate) Deprecated.since DSS 5.12.CertificateExtensionsUtils.getCAIssuersAccessUrls(CertificateToken certificate) Returns the CA issuers URIs extracted from authorityInfoAccess.caIssuers fieldstatic CertificateExtensionsCertificateExtensionsUtils.getCertificateExtensions(CertificateToken certificateToken) This method extracts the certificate extensions from the givencertificateTokenstatic CertificatePoliciesCertificateExtensionsUtils.getCertificatePolicies(CertificateToken certificateToken) Returns the certificate policies, when presentstatic List<CertificatePolicy>DSSASN1Utils.getCertificatePolicies(CertificateToken certToken) Deprecated.since DSS 5.12.CertificateExtensionsUtils.getCRLAccessUrls(CertificateToken certificate) Returns the CRL distribution URIs extracted from cRLDistributionPoints fieldstatic CRLDistributionPointsCertificateExtensionsUtils.getCRLDistributionPoints(CertificateToken certificateToken) Returns the CRL distribution points, when presentDSSRevocationUtils.getCRLRevocationTokenKeys(CertificateToken certificateToken) DSSASN1Utils.getCrlUrls(CertificateToken certificateToken) Deprecated.since DSS 5.12.static ExtendedKeyUsagesCertificateExtensionsUtils.getExtendedKeyUsage(CertificateToken certificateToken) Returns the extended key usage, when presentDSSASN1Utils.getExtendedKeyUsage(CertificateToken certToken) Extracts all extended key usages for the certificate tokenstatic StringDSSASN1Utils.getHumanReadableName(CertificateToken cert) Extracts the pretty printed name of the certificate tokenstatic InhibitAnyPolicyCertificateExtensionsUtils.getInhibitAnyPolicy(CertificateToken certificateToken) Returns an inhibit anyPolicy extension, when presentstatic org.bouncycastle.asn1.x509.IssuerSerialDSSASN1Utils.getIssuerSerial(CertificateToken certToken) This method returns a new IssuerSerial based on the certificate tokenstatic KeyUsageCertificateExtensionsUtils.getKeyUsage(CertificateToken certificateToken) Returns the key usage, when presentstatic org.bouncycastle.cert.ocsp.SingleRespDSSRevocationUtils.getLatestSingleResponse(org.bouncycastle.cert.ocsp.BasicOCSPResp basicResponse, CertificateToken certificate, CertificateToken issuer) Gets the latest single response from the OCSP responsestatic NameConstraintsCertificateExtensionsUtils.getNameConstraints(CertificateToken certificateToken) Returns a name constraints extension, when presentDSSASN1Utils.getOCSPAccessLocations(CertificateToken certificate) Deprecated.since DSS 5.12.CertificateExtensionsUtils.getOCSPAccessUrls(CertificateToken certificate) Returns the OCSP URIs extracted from authorityInfoAccess.ocsp fieldstatic org.bouncycastle.cert.ocsp.CertificateIDDSSRevocationUtils.getOCSPCertificateID(CertificateToken cert, CertificateToken issuerCert, DigestAlgorithm digestAlgorithm) Returns theCertificateIDfor the given certificate and its issuer's certificate.static OCSPNoCheckCertificateExtensionsUtils.getOcspNoCheck(CertificateToken certificateToken) Returns the ocsp-nocheck extension value, when presentstatic StringDSSRevocationUtils.getOcspRevocationKey(CertificateToken certificateToken, String ocspUrl) Gets OCSP key (SHA-1 digest) of the urlDSSRevocationUtils.getOcspRevocationTokenKeys(CertificateToken certificateToken) static PolicyConstraintsCertificateExtensionsUtils.getPolicyConstraints(CertificateToken certificateToken) Returns a policy constraints extension, when presentstatic QcStatementsCertificateExtensionsUtils.getQcStatements(CertificateToken certificateToken) Returns the qc-statements extension value, when presentstatic QcStatementsQcStatementUtils.getQcStatements(CertificateToken certToken) Extracts the QCStatements from a certificate tokenstatic List<org.bouncycastle.cert.ocsp.SingleResp>DSSRevocationUtils.getSingleResponses(org.bouncycastle.cert.ocsp.BasicOCSPResp basicResponse, CertificateToken certificate, CertificateToken issuer) Gets a list of single response from the OCSP responsestatic byte[]DSSASN1Utils.getSki(CertificateToken certificateToken) Deprecated.since DSS 5.12.static byte[]DSSASN1Utils.getSki(CertificateToken certificateToken, boolean computeIfMissing) Deprecated.since DSS 5.12.static SubjectAlternativeNamesCertificateExtensionsUtils.getSubjectAlternativeNames(CertificateToken certificateToken) Returns a subject alternative names, when presentDSSASN1Utils.getSubjectAlternativeNames(CertificateToken certToken) Deprecated.since DSS 5.12.static StringDSSASN1Utils.getSubjectCommonName(CertificateToken cert) Extracts the Subject Common name from the certificate tokenstatic SubjectKeyIdentifierCertificateExtensionsUtils.getSubjectKeyIdentifier(CertificateToken certificateToken) Returns the subject key identifier, when presentstatic ValidityAssuredShortTermCertificateExtensionsUtils.getValAssuredSTCerts(CertificateToken certificateToken) Returns the ext-etsi-valassured-ST-certs extension value, when presentstatic org.bouncycastle.cert.X509CertificateHolderDSSASN1Utils.getX509CertificateHolder(CertificateToken certToken) Returns aX509CertificateHolderencapsulating the givenX509Certificate.static booleanDSSASN1Utils.hasIdPkixOcspNoCheckExtension(CertificateToken token) Deprecated.since DSS 5.12.static booleanCertificateExtensionsUtils.hasOcspNoCheckExtension(CertificateToken certificateToken) Checks if the certificate contains ocsp-nocheck extension indicating if the revocation data should be checked for an OCSP signing certificate.
RFC 6960static booleanCertificateExtensionsUtils.hasValAssuredShortTermCertsExtension(CertificateToken certificateToken) Checks if the certificate contains ext-etsi-valassured-ST-certs extension indicating that the validity of the certificate is assured because the certificate is a "short-term certificate".static booleanDSSASN1Utils.hasValAssuredShortTermCertsExtension(CertificateToken token) Deprecated.since DSS 5.12.static booleanDSSASN1Utils.isExtendedKeyUsagePresent(CertificateToken certToken, org.bouncycastle.asn1.ASN1ObjectIdentifier oid) Deprecated.since DSS 5.12.static booleanDSSASN1Utils.isOCSPSigning(CertificateToken certToken) Deprecated.since DSS 5.12.static booleanDSSASN1Utils.isSkiEqual(byte[] ski, CertificateToken certificateToken) Checks if the provided ski matches to a ski computed from a certificateToken's public key -
Uses of CertificateToken in eu.europa.esig.dss.spi.tsl
Methods in eu.europa.esig.dss.spi.tsl that return CertificateTokenModifier and TypeMethodDescriptionTrustedListsCertificateSource.addCertificate(CertificateToken certificate) This method is not applicable for this kind of certificate source.ValidationInfoRecord.getSigningCertificate()Gets the signing certificateMethods in eu.europa.esig.dss.spi.tsl that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionOtherTSLPointer.getCertificates()Gets a list of certificatesTrustService.getCertificates()Gets a list of certificatesPivotInfo.getCertificateStatusMap()Returns a map of certificate tokens with a status regarding to the current pivotValidationInfoRecord.getPotentialSigners()Gets a list of signing candidatesMethods in eu.europa.esig.dss.spi.tsl with parameters of type CertificateTokenModifier and TypeMethodDescriptionTrustedListsCertificateSource.addCertificate(CertificateToken certificate) This method is not applicable for this kind of certificate source.booleanCondition.check(CertificateToken certificateToken) Returns true if the condition is evaluated to true for the given certificate.TrustedListsCertificateSource.getAlternativeCRLUrls(CertificateToken trustAnchor) TrustedListsCertificateSource.getAlternativeOCSPUrls(CertificateToken trustAnchor) TrustedListsCertificateSource.getTrustServices(CertificateToken token) Method parameters in eu.europa.esig.dss.spi.tsl with type arguments of type CertificateTokenModifier and TypeMethodDescriptionTrustService.TrustServiceBuilder.setCertificates(List<CertificateToken> certificates) Sets a list of certificatesvoidTrustedListsCertificateSource.setTrustPropertiesByCertificates(Map<CertificateToken, List<TrustProperties>> trustPropertiesByCerts) The method allows to fill the CertificateSourceConstructor parameters in eu.europa.esig.dss.spi.tsl with type arguments of type CertificateTokenModifierConstructorDescriptionOtherTSLPointer(String location, List<CertificateToken> certificates, MRA mra) Default constructorPivotInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken, CertificatePivotStatus> certificates, String lotlLocation) The default constructorTrustService(List<CertificateToken> certificates, TimeDependentValues<TrustServiceStatusAndInformationExtensions> status) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509
Methods in eu.europa.esig.dss.spi.x509 that return CertificateTokenModifier and TypeMethodDescriptionCertificateSource.addCertificate(CertificateToken certificate) This method allows to manually add any certificate to the source.CommonCertificateSource.addCertificate(CertificateToken certificateToAdd) This method adds an external certificate to the source.KeyStoreCertificateSource.addCertificate(CertificateToken certificateToAdd) KeyStoreCertificateSource.getCertificate(String alias) This method allows to retrieve a certificate by its aliasCertificateValidity.getCertificateToken()Gets theCertificateTokenprotected CertificateTokenTokenCertificateSource.getCertificateToken(SignerIdentifier signerIdentifier) Gets aCertificateTokenby the givenSignerIdentifierTokenIssuerSelector.getIssuer()FilterscertificateTokensand returns the best issuer candidate fortokenMethods in eu.europa.esig.dss.spi.x509 that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionCertificateSource.findTokensFromCertRef(CertificateRef certificateRef) Returns Set ofCertificateTokens for the providedCertificateRefCommonCertificateSource.findTokensFromCertRef(CertificateRef certificateRef) ListCertificateSource.findTokensFromRefs(CertificateRef certificateRef) This method returns the foundCertificateTokenfrom allCertificateSourcefor the givencertificateRef.TokenCertificateSource.findTokensFromRefs(List<CertificateRef> certificateRefs) Returns Set ofCertificateTokens for the providedCertificateRefsListCertificateSource.getAllCertificateTokens()Returns a set of all containing certificate tokensCertificateSource.getByCertificateDigest(Digest digest) This method returns the Set of certificates with theDigestCommonCertificateSource.getByCertificateDigest(Digest digest) ListCertificateSource.getByCertificateDigest(Digest digest) ListCertificateSource.getByCertificateIdentifier(SignerIdentifier signerIdentifier) This method returns the foundCertificateTokenfrom allCertificateSourcefor the givenSignerIdentifier.CertificateSource.getByPublicKey(PublicKey publicKey) This method returns a Set ofCertificateTokenwith the givenPublicKeyCommonCertificateSource.getByPublicKey(PublicKey publicKey) This method returns a list ofCertificateTokenwith the givenPublicKeyListCertificateSource.getByPublicKey(PublicKey publicKey) CertificateSource.getBySignerIdentifier(SignerIdentifier signerIdentifier) This method returns the Set of certificates with theCertificateIdentifierCommonCertificateSource.getBySignerIdentifier(SignerIdentifier signerIdentifier) CertificateSource.getBySki(byte[] ski) This method returns a Set ofCertificateTokenwith the given SKI (SubjectKeyIdentifier (SHA-1 of the PublicKey))CommonCertificateSource.getBySki(byte[] ski) This method returns a list ofCertificateTokenwith the given SKI (SubjectKeyIdentifier (SHA-1 of the PublicKey))ListCertificateSource.getBySki(byte[] ski) This method returns the foundCertificateTokenfrom allCertificateSourcefor the given subject key identifier (SHA-1 of the public key).CertificateSource.getBySubject(X500PrincipalHelper subject) This method returns the Set of certificates with the same subjectDN.CommonCertificateSource.getBySubject(X500PrincipalHelper subject) This method returns the Set of certificates with the same subjectDN.ListCertificateSource.getBySubject(X500PrincipalHelper subject) This method returns the foundCertificateTokenfrom allCertificateSourcefor the givenX500PrincipalHelper.CertificateSource.getCertificates()Retrieves the unmodifiable list of all certificate tokens from this source.CommonCertificateSource.getCertificates()Retrieves the unmodifiable list of all certificate tokens from this source.protected List<CertificateToken>TokenCertificateSource.getCertificateTokensByOrigin(CertificateOrigin origin) Gets a list ofCertificateTokens by the givenCertificateOriginMethods in eu.europa.esig.dss.spi.x509 with parameters of type CertificateTokenModifier and TypeMethodDescriptionCertificateSource.addCertificate(CertificateToken certificate) This method allows to manually add any certificate to the source.CommonCertificateSource.addCertificate(CertificateToken certificateToAdd) This method adds an external certificate to the source.KeyStoreCertificateSource.addCertificate(CertificateToken certificateToAdd) protected voidTokenCertificateSource.addCertificate(CertificateToken certificate, CertificateOrigin origin) Adds aCertificateTokenwith itsCertificateOriginvoidKeyStoreCertificateSource.addCertificateToKeyStore(CertificateToken certificateToken) This method allows to add a certificate in the keystore.CommonTrustedCertificateSource.getAlternativeCRLUrls(CertificateToken trustAnchor) Returns a list of alternative CRL access point Urls for the certificate tokenCommonTrustedCertificateSource.getAlternativeOCSPUrls(CertificateToken trustAnchor) Returns a list of alternative OCSP access point Urls for the certificate tokenListCertificateSource.getCertificateSource(CertificateToken certificateToken) This method return the differentCertificateSourceTypewhere the certificate is foundTokenCertificateSource.getReferencesForCertificateToken(CertificateToken certificateToken) Returns list ofCertificateRefs found for the givencertificateTokenAlternateUrlsSourceAdapter.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) AlternateUrlsSourceAdapter.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls) CommonTrustedCertificateSource.getTrustServices(CertificateToken token) Returns TrustProperties for the given certificatebooleanCertificateSource.isKnown(CertificateToken certificateToken) This method checks if a given certificate is known in the current sourcebooleanCommonCertificateSource.isKnown(CertificateToken token) booleanResponderId.isRelatedToCertificate(CertificateToken certificateToken) Checks if the ResponderId is related to a provided certificateTokenbooleanSignerIdentifier.isRelatedToCertificate(CertificateToken certificateToken) Checks if the current SerialInfo is related to a provided CertificateTokenbooleanCertificateSource.isTrusted(CertificateToken certificateToken) This method checks if a given certificate is trustedbooleanCommonCertificateSource.isTrusted(CertificateToken certificateToken) booleanCommonTrustedCertificateSource.isTrusted(CertificateToken certificateToken) booleanListCertificateSource.isTrusted(CertificateToken certificateToken) This method checks in all sources in the given certificate is trustedbooleanCertificateTokenRefMatcher.match(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies if the givenCertificateTokenmatches theCertificateRefbooleanCertificateTokenRefMatcher.matchByDigest(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies if only digest within thecertificateRefcorresponds tocertificateTokenbooleanCertificateTokenRefMatcher.matchByIssuerName(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies if only the issuer name within thecertificateRefcorresponds tocertificateTokenbooleanCertificateTokenRefMatcher.matchByResponderId(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies if only the responder Id within thecertificateRefcorresponds tocertificateTokenbooleanCertificateTokenRefMatcher.matchBySerialNumber(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies if only the serial number within thecertificateRefcorresponds tocertificateTokenprotected voidCommonCertificateSource.removeCertificate(CertificateToken certificateToRemove) This method removes the corresponding certificate token from the certificate sourceMethod parameters in eu.europa.esig.dss.spi.x509 with type arguments of type CertificateTokenModifier and TypeMethodDescriptionvoidKeyStoreCertificateSource.addAllCertificatesToKeyStore(List<CertificateToken> certificates) This method allows to add a list of certificates to the keystoreConstructors in eu.europa.esig.dss.spi.x509 with parameters of type CertificateTokenModifierConstructorDescriptionCertificateValidity(CertificateToken certificateToken) This constructor create an object containing all information concerning the validity of a candidate for the signing certificate.Constructor parameters in eu.europa.esig.dss.spi.x509 with type arguments of type CertificateTokenModifierConstructorDescriptionTokenIssuerSelector(Token token, Collection<CertificateToken> certificateTokens) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.aia
Methods in eu.europa.esig.dss.spi.x509.aia that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected abstract Set<CertificateToken>RepositoryAIASource.findCertificates(String key) This method returns a set of certificates from a DB with the given keyOnlineAIASource.CertificatesAndAIAUrl.getCertificates()List of downloaded certificatesAIASource.getCertificatesByAIA(CertificateToken certificateToken) Loads a set ofCertificateTokens accessed by AIA URIs from the providedcertificateTokenDefaultAIASource.getCertificatesByAIA(CertificateToken certificateToken) RepositoryAIASource.getCertificatesByAIA(CertificateToken certificateToken) RepositoryAIASource.getCertificatesByAIA(CertificateToken certificateToken, boolean forceRefresh) This method allows to populate the source with new AIA certificates obtained from an proxied source, by forcing the refreshMethods in eu.europa.esig.dss.spi.x509.aia with parameters of type CertificateTokenModifier and TypeMethodDescriptionDefaultAIASource.getCertificatesAndAIAUrls(CertificateToken certificateToken) OnlineAIASource.getCertificatesAndAIAUrls(CertificateToken certificateToken) The method returns a collection of processed URLs and the corresponding downloaded certificatesAIASource.getCertificatesByAIA(CertificateToken certificateToken) Loads a set ofCertificateTokens accessed by AIA URIs from the providedcertificateTokenDefaultAIASource.getCertificatesByAIA(CertificateToken certificateToken) RepositoryAIASource.getCertificatesByAIA(CertificateToken certificateToken) RepositoryAIASource.getCertificatesByAIA(CertificateToken certificateToken, boolean forceRefresh) This method allows to populate the source with new AIA certificates obtained from an proxied source, by forcing the refreshMethod parameters in eu.europa.esig.dss.spi.x509.aia with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected abstract voidRepositoryAIASource.insertCertificates(String aiaUrl, Collection<CertificateToken> certificateTokens) This method allows inserting of a certificate into the DBConstructor parameters in eu.europa.esig.dss.spi.x509.aia with type arguments of type CertificateTokenModifierConstructorDescriptionCertificatesAndAIAUrl(String aiaUrl, List<CertificateToken> certificates) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.revocation
Fields in eu.europa.esig.dss.spi.x509.revocation declared as CertificateTokenModifier and TypeFieldDescriptionprotected CertificateTokenRevocationToken.relatedCertificateRelatedCertificateTokento this revocation objectMethods in eu.europa.esig.dss.spi.x509.revocation that return CertificateTokenModifier and TypeMethodDescriptionabstract CertificateTokenRevocationToken.getIssuerCertificateToken()Returns issuerCertificateTokenRevocationToken.getRelatedCertificate()Returns a certificate token the current revocation data has been issued forMethods in eu.europa.esig.dss.spi.x509.revocation with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected abstract RevocationToken<R>JdbcRevocationSource.buildRevocationTokenFromResult(SqlRecord response, CertificateToken certificateToken, CertificateToken issuerCertificateToken) BuildsRevocationTokenfrom the obtainedResultSetprotected RevocationToken<R>RepositoryRevocationSource.findRevocation(String key, CertificateToken certificateToken, CertificateToken issuerCertToken) Deprecated.since 5.12.protected List<RevocationToken<R>>JdbcRevocationSource.findRevocations(String key, CertificateToken certificateToken, CertificateToken issuerCertificateToken) protected abstract List<RevocationToken<R>>RepositoryRevocationSource.findRevocations(String key, CertificateToken certificateToken, CertificateToken issuerCertToken) Finds a list of RevocationTokens in the cache for the givencertificateTokenwith the correspondingkeyOfflineRevocationSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) This method returns the latest issued revocation token from a set of all revocation data found for the givencertificateToken.RepositoryRevocationSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) RepositoryRevocationSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh) Retrieves a revocation token for the givenCertificateTokenRevocationSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) This method retrieves aRevocationTokenfor the certificateTokenRevocationSourceAlternateUrlsSupport.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls) Gets anRevocationTokenfor the given certificate / issuer's certificate couple.OnlineRevocationSource.getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves aRevocationTokenAndUrlfor the certificateTokenprotected abstract StringRepositoryRevocationSource.getRevocationTokenKey(CertificateToken certificateToken, String urlString) Gets a unique revocation token identifier used to store the revocation token for thiscertificateTokenwithin a repositoryMultipleRevocationSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken) This method retrieves a list ofRevocationTokenfor the certificateTokenRepositoryRevocationSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken) RepositoryRevocationSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh) Retrieves a list of revocation token for the givenCertificateTokenRepositoryRevocationSource.initRevocationTokenKeys(CertificateToken certificateToken) Initialize a list of revocation token keysStringfrom the givenCertificateToken -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.revocation.crl
Methods in eu.europa.esig.dss.spi.x509.revocation.crl that return CertificateTokenMethods in eu.europa.esig.dss.spi.x509.revocation.crl with parameters of type CertificateTokenModifier and TypeMethodDescriptionCRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) ExternalResourcesCRLSource.getRevocationTokens(CertificateToken certificate, CertificateToken issuer) OfflineCRLSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken) Constructors in eu.europa.esig.dss.spi.x509.revocation.crl with parameters of type CertificateTokenModifierConstructorDescriptionCRLToken(CertificateToken certificateToken, CRLValidity crlValidity) The constructor to be used with the certificate which is managed by the CRL and theCRLValidity. -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.revocation.ocsp
Methods in eu.europa.esig.dss.spi.x509.revocation.ocsp that return CertificateTokenMethods in eu.europa.esig.dss.spi.x509.revocation.ocsp with parameters of type CertificateTokenModifier and TypeMethodDescriptionOCSPCertificateSource.getCandidatesForSigningCertificate(CertificateToken certificateIssuer) Returns candidates for the OCSP Response's signing certificateOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) ExternalResourcesOCSPSource.getRevocationTokens(CertificateToken certificate, CertificateToken issuer) OfflineOCSPSource.getRevocationTokens(CertificateToken certificate, CertificateToken issuer) Constructors in eu.europa.esig.dss.spi.x509.revocation.ocsp with parameters of type CertificateTokenModifierConstructorDescriptionOCSPToken(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp, org.bouncycastle.cert.ocsp.SingleResp latestSingleResp, CertificateToken certificate, CertificateToken issuer) The default constructor to instantiate an OCSPToken with BasicOCSPResp only -
Uses of CertificateToken in eu.europa.esig.dss.token
Methods in eu.europa.esig.dss.token that return CertificateTokenModifier and TypeMethodDescriptionDSSPrivateKeyEntry.getCertificate()Retrieve the signing certificateKSPrivateKeyEntry.getCertificate()DSSPrivateKeyEntry.getCertificateChain()Retrieve the certificate chain linkedKSPrivateKeyEntry.getCertificateChain() -
Uses of CertificateToken in eu.europa.esig.dss.tsl.dto
Methods in eu.europa.esig.dss.tsl.dto that return CertificateTokenMethods in eu.europa.esig.dss.tsl.dto that return types with arguments of type CertificateTokenMethods in eu.europa.esig.dss.tsl.dto with parameters of type CertificateTokenModifier and TypeMethodDescriptionvoidValidationCacheDTO.setSigningCertificate(CertificateToken signingCertificate) Sets the signing certificate tokenMethod parameters in eu.europa.esig.dss.tsl.dto with type arguments of type CertificateTokenModifier and TypeMethodDescriptionvoidValidationCacheDTO.setPotentialSigners(List<CertificateToken> potentialSigners) Sets a list of signing candidates -
Uses of CertificateToken in eu.europa.esig.dss.tsl.dto.condition
Methods in eu.europa.esig.dss.tsl.dto.condition with parameters of type CertificateTokenModifier and TypeMethodDescriptionbooleanCertSubjectDNAttributeCondition.check(CertificateToken certificateToken) booleanCompositeCondition.check(CertificateToken certificateToken) Execute the composite condition of the given certificatebooleanExtendedKeyUsageCondition.check(CertificateToken certificateToken) booleanKeyUsageCondition.check(CertificateToken certificateToken) booleanPolicyIdCondition.check(CertificateToken certificateToken) booleanQCStatementCondition.check(CertificateToken certificateToken) -
Uses of CertificateToken in eu.europa.esig.dss.tsl.function.converter
Methods in eu.europa.esig.dss.tsl.function.converter that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionDigitalIdentityListTypeConverter.apply(DigitalIdentityListType digitalIdentityList) -
Uses of CertificateToken in eu.europa.esig.dss.tsl.validation
Methods in eu.europa.esig.dss.tsl.validation that return CertificateTokenModifier and TypeMethodDescriptionValidationResult.getSigningCertificate()Gets the signing certificateMethods in eu.europa.esig.dss.tsl.validation that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionValidationResult.getPotentialSigners()Gets a list of signing candidatesConstructors in eu.europa.esig.dss.tsl.validation with parameters of type CertificateTokenModifierConstructorDescriptionValidationResult(Indication indication, SubIndication subIndication, Date signingTime, CertificateToken signingCertificate, CertificateSource certificateSource) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.validation
Fields in eu.europa.esig.dss.validation with type parameters of type CertificateTokenModifier and TypeFieldDescriptionprotected Map<String,CertificateToken> DiagnosticDataBuilder.certificateIdsMapA map between certificate id Strings and the related CertificateTokensprotected Map<String,CertificateToken> DiagnosticDataBuilder.signingCertificateMapA map between certificate id Strings and the related CertificateTokens for signing certificatesprotected Set<CertificateToken>DiagnosticDataBuilder.usedCertificatesThe certificates used during the validation processMethods in eu.europa.esig.dss.validation that return CertificateTokenModifier and TypeMethodDescriptionAIACertificateSource.getIssuerFromAIA()Get the issuer's certificate from Authority Information Access through id-ad-caIssuers extension.AdvancedSignature.getSigningCertificateToken()This method returns the signing certificate token or null if there is no valid signing certificate.DefaultAdvancedSignature.getSigningCertificateToken()protected CertificateTokenDiagnosticDataBuilder.getUsedCertificateByCertificateRef(CertificateRef certificateRef) Returns used certificate by thecertificateRefMethods in eu.europa.esig.dss.validation that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionSignatureCertificateSource.getAttrAuthoritiesCertValues()Retrieves the list of all certificates from the AttrAuthoritiesCertValues (XAdES)SignatureCertificateSource.getAttributeCertificates()Retrieves the Set ofCertificateTokens according to references included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)AdvancedSignature.getCertificates()Get certificates embedded in the signatureDefaultAdvancedSignature.getCertificates()Returns an unmodifiable list of all certificate tokens encapsulated in the signatureValidationData.getCertificateTokens()Gets certificate tokens to be included into the signatureSignatureCertificateSource.getCertificateValues()Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)SignatureCertificateSource.getCompleteCertificates()Retrieves the Set ofCertificateTokens according references to included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)SignatureCertificateSource.getDSSDictionaryCertValues()Retrieves the list of all certificates from the DSS dictionary (PAdES)SignatureCertificateSource.getKeyInfoCertificates()Retrieves the list of all certificates present in the KeyInfo element (XAdES) (can be unsigned)SignatureValidationContext.getProcessedCertificates()ValidationContext.getProcessedCertificates()Returns a read only list of all certificates used in the process of the validation of all signatures from the given document.SignatureCertificateSource.getSignedDataCertificates()Retrieves the list of all certificates present in a signed element (i.e.SignatureCertificateSource.getSigningCertificates()Retrieves the Set ofCertificateTokens for the signing certificate (V1/V2)SignatureCertificateSource.getTimeStampValidationDataCertValues()Retrieves the list of all certificates from the TimeStampValidationData (XAdES)SignatureCertificateSource.getVRIDictionaryCertValues()Retrieves the list of all certificates from the VRI dictionary (PAdES)Methods in eu.europa.esig.dss.validation with parameters of type CertificateTokenModifier and TypeMethodDescriptionvoidSignatureValidationContext.addCertificateTokenForVerification(CertificateToken certificateToken) voidValidationContext.addCertificateTokenForVerification(CertificateToken certificateToken) Adds a new certificate token to the list of tokens to verify.XmlTrustedServiceProviderBuilder.build(CertificateToken certificateToken, Map<CertificateToken, List<TrustProperties>> relatedTrustServices) This method builds a list ofXmlTrustedServiceProviders corresponding to the givenCertificateTokenprotected XmlCertificateDiagnosticDataBuilder.buildDetachedXmlCertificate(CertificateToken certToken) This method builds anXmlCertificatefrom the givenCertificateTokenprotected XmlOrphanCertificateTokenDiagnosticDataBuilder.buildXmlOrphanCertificateToken(CertificateToken certificateToken) This method builds anXmlOrphanCertificateTokenfrom the givenCertificateTokenbooleanSignatureValidationContext.checkCertificateNotRevoked(CertificateToken certificateToken) booleanValidationContext.checkCertificateNotRevoked(CertificateToken certificateToken) This method allows to verify if the certificate is not revoked Additionally, an alert can be handledCertificateVerifier.setAlertOnRevokedCertificate(eu.europa.esig.dss.alert.StatusAlert)protected RevocationToken<CRL>RevocationDataLoadingStrategy.checkCRL(CertificateToken certificateToken, CertificateToken issuerToken) Retrieves and verifies the obtained CRL token NOTE: returns only if a valid entry has been obtained!protected RevocationToken<OCSP>RevocationDataLoadingStrategy.checkOCSP(CertificateToken certificateToken, CertificateToken issuerToken) Retrieves and verifies the obtained OCSP token NOTE: returns only if a valid entry has been obtained!static CertificateValidatorCertificateValidator.fromCertificate(CertificateToken token) Creates a CertificateValidator from a certificateTokenCRLFirstRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken) OCSPFirstRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken) abstract RevocationTokenRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) This method retrieves aRevocationTokenfor the given certificateTokenListRevocationSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken) protected XmlOrphanCertificateDiagnosticDataBuilder.getXmlOrphanCertificate(CertificateOrigin origin, CertificateToken certificateToken, TokenCertificateSource certificateSource, CertificateToken signingCertificate) This method builds anXmlOrphanCertificateTokenbooleanRevocationDataVerifier.isAcceptable(RevocationToken<?> revocationToken, CertificateToken issuerCertificateToken) This method verifies the validity of the givenRevocationTokenprotected voidDiagnosticDataBuilder.populateOrphanCertificateOriginMap(Map<String, XmlOrphanCertificate> orphanCertificatesMap, CertificateOrigin origin, List<CertificateToken> certificateTokens, TokenCertificateSource certificateSource, CertificateToken signingCertificate) Fills the orphan certificate map with the given valuesprotected XmlRelatedCertificateDiagnosticDataBuilder.populateXmlRelatedCertificatesList(CertificateOrigin origin, CertificateToken cert, TokenCertificateSource certificateSource) Builds anXmlRelatedCertificateprotected voidDiagnosticDataBuilder.populateXmlRelatedCertificatesList(List<XmlRelatedCertificate> relatesCertificates, TokenCertificateSource certificateSource, CertificateToken cert, CertificateRef certificateRef) Builds anXmlRelatedCertificateand populates therelatesCertificateslistprotected voidDiagnosticDataBuilder.verifyAgainstCertificateToken(XmlCertificateRef xmlCertificateRef, CertificateRef ref, CertificateToken signingCertificate) Verifies the reference against a certificate tokenMethod parameters in eu.europa.esig.dss.validation with type arguments of type CertificateTokenModifier and TypeMethodDescriptionXmlTrustedServiceProviderBuilder.build(CertificateToken certificateToken, Map<CertificateToken, List<TrustProperties>> relatedTrustServices) This method builds a list ofXmlTrustedServiceProviders corresponding to the givenCertificateTokenprotected booleanBaselineRequirementsChecker.containsSigningCertificate(Collection<CertificateToken> certificateTokens) Checks if the given collection ofCertificateTokens contains the signing certificate for the signaturevoidValidationData.excludeCertificateTokens(Collection<CertificateToken> certificateTokensToExclude) Removes all certificate token entries matching the provided collectionprotected voidDiagnosticDataBuilder.linkSigningCertificateAndChains(Set<CertificateToken> certificates) Links the certificates and their certificate chainsprotected voidSignedDocumentDiagnosticDataBuilder.linkSigningCertificateAndChains(Set<CertificateToken> certificates) protected voidDiagnosticDataBuilder.populateCertificateOriginMap(Map<String, XmlRelatedCertificate> relatedCertificatesMap, CertificateOrigin origin, List<CertificateToken> certificateTokens, TokenCertificateSource certificateSource) Fills the certificates origins map with the given propertiesprotected voidDiagnosticDataBuilder.populateOrphanCertificateOriginMap(Map<String, XmlOrphanCertificate> orphanCertificatesMap, CertificateOrigin origin, List<CertificateToken> certificateTokens, TokenCertificateSource certificateSource, CertificateToken signingCertificate) Fills the orphan certificate map with the given valuesCertificateDiagnosticDataBuilder.usedCertificates(Set<CertificateToken> usedCertificates) DiagnosticDataBuilder.usedCertificates(Set<CertificateToken> usedCertificates) This method allows to set the used certificatesSignedDocumentDiagnosticDataBuilder.usedCertificates(Set<CertificateToken> usedCertificates) Constructors in eu.europa.esig.dss.validation with parameters of type CertificateTokenModifierConstructorDescriptionAIACertificateSource(CertificateToken certificate, AIASource aiaSource) Default constructor -
Uses of CertificateToken in eu.europa.esig.dss.validation.timestamp
Methods in eu.europa.esig.dss.validation.timestamp that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionTimestampToken.getCertificates()Returns the list of wrapped certificates.Methods in eu.europa.esig.dss.validation.timestamp with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected SignatureValidityTimestampToken.checkIsSignedBy(CertificateToken candidate) Checks if timestamp is signed by teh given certificateprotected TimestampedReferenceAbstractTimestampSource.createReferenceForCertificate(CertificateToken certificateToken) Creates aTimestampedReferencefor the providedCertificateTokenbooleanTimestampToken.isSignedBy(CertificateToken certificateToken) Checks if the timestamp token is signed by the given publicKeyMethod parameters in eu.europa.esig.dss.validation.timestamp with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected List<TimestampedReference>AbstractTimestampSource.createReferencesForCertificates(Collection<CertificateToken> certificates) Creates a list ofTimestampedReferences for the provided list ofcertificates -
Uses of CertificateToken in eu.europa.esig.dss.ws.converter
Methods in eu.europa.esig.dss.ws.converter that return CertificateTokenModifier and TypeMethodDescriptionstatic CertificateTokenRemoteCertificateConverter.toCertificateToken(RemoteCertificate remoteCertificate) Converts the givenremoteCertificateto aCertificateTokenMethods in eu.europa.esig.dss.ws.converter that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionstatic List<CertificateToken>RemoteCertificateConverter.toCertificateTokens(List<RemoteCertificate> remoteCertificates) Converts the given list ofremoteCertificatesto a list ofCertificateTokensMethods in eu.europa.esig.dss.ws.converter with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic RemoteCertificateRemoteCertificateConverter.toRemoteCertificate(CertificateToken certificate) Converts the givencertificateto aRemoteCertificate -
Uses of CertificateToken in eu.europa.esig.dss.xades
Constructors in eu.europa.esig.dss.xades with parameters of type CertificateTokenModifierConstructorDescriptionTrustedListSignatureParametersBuilder(CertificateToken signingCertificate, DSSDocument tlXmlDocument) The constructor to build Signature Parameters for a Trusted List signing with respect to ETSI TS 119 612 -
Uses of CertificateToken in eu.europa.esig.dss.xades.signature
Methods in eu.europa.esig.dss.xades.signature with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected ElementXAdESBuilder.incorporateCert(Element parentDom, CertificateToken certificate, DigestAlgorithm digestAlgorithm) Creates Cert DOM object:protected voidXAdESBuilder.incorporateIssuerV1(Element parentDom, CertificateToken certificate) Incorporates IssuerSerial elementprotected voidXAdESBuilder.incorporateIssuerV2(Element parentDom, CertificateToken certificate) Incorporates IssuerSerialV2 elementMethod parameters in eu.europa.esig.dss.xades.signature with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected ElementXAdESLevelBaselineT.incorporateCertificateValues(Element parentDom, Collection<CertificateToken> certificatesToBeAdded) This method incorporates all certificates passed as parameter :protected voidXAdESLevelBaselineT.incorporateCertificateValues(Element parentDom, Collection<CertificateToken> certificatesToBeAdded, String indent) This method incorporates all certificates passed as parameter, as well as adds missing indents if the parameter is specified