Uses of Class
eu.europa.esig.dss.model.x509.CertificateToken
Packages that use CertificateToken
Package
Description
-
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 TypeMethodDescriptionCommonX509URLCertificateSource.addCertificate(CertificateToken certificateToAdd) CommonX509URLCertificateSource.addCertificate(String uri, CertificateToken certificate) Adds a certificate for a given 'x5u' URL (JWS/JAdES)KidCertificateSource.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 TypeMethodDescriptionCommonX509URLCertificateSource.addCertificates(String uri, Collection<CertificateToken> certificates) Adds a collection of certificates for a given 'x5u' URL (JWS/JAdES)JAdESCertificateSource.findTokensFromCertRef(CertificateRef certificateRef) CommonX509URLCertificateSource.getCertificatesByUrl(String uri) X509URLCertificateSource.getCertificatesByUrl(String uri) Gets a collection ofCertificateTokens retrieved from the given URIJAdESCertificateSource.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 TypeMethodDescriptionCommonX509URLCertificateSource.addCertificate(CertificateToken certificateToAdd) CommonX509URLCertificateSource.addCertificate(String uri, CertificateToken certificate) Adds a certificate for a given 'x5u' URL (JWS/JAdES)KidCertificateSource.addCertificate(CertificateToken certificateToAdd) KidCertificateSource.addCertificate(String kid, CertificateToken certificate) Adds a certificate for a given 'kid' (JWS/JAdES)JAdESCertificateSource.getReferencesForCertificateToken(CertificateToken certificateToken) Method parameters in eu.europa.esig.dss.jades.validation with type arguments of type CertificateTokenModifier and TypeMethodDescriptionCommonX509URLCertificateSource.addCertificates(String uri, Collection<CertificateToken> certificates) Adds a collection of certificates for a given 'x5u' URL (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.tsl
Methods in eu.europa.esig.dss.model.tsl that return CertificateTokenModifier and TypeMethodDescriptionValidationInfoRecord.getSigningCertificate()Gets the signing certificateMethods in eu.europa.esig.dss.model.tsl that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionTrustService.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 candidatesOtherTSLPointer.getSdiCertificates()Gets a list of ServiceDigitalIdentity X509 certificatesOtherTSLPointer.OtherTSLPointerBuilder.getSdiCertificates()Gets the ServiceDigitalIdentity X509 certificatesMethods in eu.europa.esig.dss.model.tsl with parameters of type CertificateTokenModifier and TypeMethodDescriptionbooleanCondition.check(CertificateToken certificateToken) Returns true if the condition is evaluated to true for the given certificate.TrustPropertiesCertificateSource.getTrustServices(CertificateToken token) Returns TrustProperties for the given certificate, when applicableMethod parameters in eu.europa.esig.dss.model.tsl with type arguments of type CertificateTokenModifier and TypeMethodDescriptionTrustService.TrustServiceBuilder.setCertificates(List<CertificateToken> certificates) Sets a list of certificatesOtherTSLPointer.OtherTSLPointerBuilder.setSdiCertificates(List<CertificateToken> sdiCertificates) Sets the ServiceDigitalIdentity X509 certificatesvoidTrustPropertiesCertificateSource.setTrustPropertiesByCertificates(Map<CertificateToken, List<TrustProperties>> trustPropertiesByCerts) The method allows to fill the CertificateSourceConstructor parameters in eu.europa.esig.dss.model.tsl with type arguments of type CertificateTokenModifierConstructorDescriptionPivotInfo(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.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.pki.jaxb.builder
Methods in eu.europa.esig.dss.pki.jaxb.builder that return CertificateTokenMethods in eu.europa.esig.dss.pki.jaxb.builder with parameters of type CertificateTokenModifier and TypeMethodDescriptionX509CertificateBuilder.issuer(CertificateToken issuerCertificate, PrivateKey issuerPrivateKey, SignatureAlgorithm signatureAlgorithm) Sets mandatory information about the certificate's issuer to sign the created certificate with a CertificateToken of the issuerJAXBCertEntityBuilder.setCertificateToken(CertificateToken certificateToken) Sets the certificate token associated with this entity -
Uses of CertificateToken in eu.europa.esig.dss.pki.jaxb.model
Methods in eu.europa.esig.dss.pki.jaxb.model that return CertificateTokenModifier and TypeMethodDescriptionJAXBCertEntity.getCertificateToken()Retrieves the CertificateToken associated with this entity.Methods in eu.europa.esig.dss.pki.jaxb.model that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionJAXBCertEntity.getCertificateChain()Retrieves the certificate chain as a list of CertificateToken objects.Methods in eu.europa.esig.dss.pki.jaxb.model with parameters of type CertificateTokenModifier and TypeMethodDescriptionJAXBCertEntityRepository.getByCertificateToken(CertificateToken certificateToken) voidJAXBCertEntity.setCertificateToken(CertificateToken certificateToken) Sets the certificate token associated with this entity -
Uses of CertificateToken in eu.europa.esig.dss.pki.model
Methods in eu.europa.esig.dss.pki.model that return CertificateTokenModifier and TypeMethodDescriptionCertEntity.getCertificateToken()Gets the certificate token associated with this certificate entity.Methods in eu.europa.esig.dss.pki.model that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionCertEntity.getCertificateChain()Gets the certificate chain associated with this certificate entity.Methods in eu.europa.esig.dss.pki.model with parameters of type CertificateTokenModifier and TypeMethodDescriptionCertEntityRepository.getByCertificateToken(CertificateToken certificateToken) Retrieves the certificate entity associated with the given certificate token. -
Uses of CertificateToken in eu.europa.esig.dss.pki.x509.aia
Methods in eu.europa.esig.dss.pki.x509.aia that return CertificateTokenModifier and TypeMethodDescriptionprotected CertificateTokenPKIAIASource.getCertificateIssuer(CertificateToken certificateToken) Returns issuer of thecertificateTokenMethods in eu.europa.esig.dss.pki.x509.aia that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected List<CertificateToken> PKIAIASource.getCertificateChain(CertificateToken certificateToken) Returns a certificate chain for the givencertificateTokenPKIAIASource.getCertificatesByAIA(CertificateToken certificateToken) Methods in eu.europa.esig.dss.pki.x509.aia with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected booleanPKIAIASource.canGenerate(CertificateToken certificateToken) Returns whether the current implementation is able to produce a CA issuers certificate chain for the givencertificateTokenprotected CertEntityPKIAIASource.getCertEntity(CertificateToken certificateToken) Returns a cert entity for the correspondingeu.europa.esig.dss.model.x509.CertificateTokenprotected List<CertificateToken> PKIAIASource.getCertificateChain(CertificateToken certificateToken) Returns a certificate chain for the givencertificateTokenprotected CertificateTokenPKIAIASource.getCertificateIssuer(CertificateToken certificateToken) Returns issuer of thecertificateTokenPKIAIASource.getCertificatesByAIA(CertificateToken certificateToken) -
Uses of CertificateToken in eu.europa.esig.dss.pki.x509.revocation.crl
Methods in eu.europa.esig.dss.pki.x509.revocation.crl with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected booleanPKICRLSource.canGenerate(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Returns whether the current implementation is able to produce a CRL for the givencertificateTokenprotected CertEntityPKICRLSource.getCrlIssuer(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Returns aCertEntityto be used as an CRL issuer.PKICRLSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Retrieves a Certificate Revocation List (CRL) token for the given certificate and its issuer certificate if the CertEntity is not already. -
Uses of CertificateToken in eu.europa.esig.dss.pki.x509.revocation.ocsp
Methods in eu.europa.esig.dss.pki.x509.revocation.ocsp with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected org.bouncycastle.cert.ocsp.OCSPReqPKIOCSPSource.buildOCSPRequest(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Builds an OCSP request for the givenCertificateTokenprotected org.bouncycastle.cert.ocsp.OCSPRespPKIOCSPSource.buildOCSPResponse(CertificateToken certificateToken, CertificateToken issuerCertificateToken, org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Builds an OCSP Responseprotected booleanPKIOCSPSource.canGenerate(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Returns whether the current implementation is able to produce an OCSP response for the givencertificateTokenprotected CertEntityRevocationPKIOCSPSource.getCertificateTokenRevocation(CertificateToken certificateToken, org.bouncycastle.cert.ocsp.OCSPReq ocspReq) Returns a revocation status for the givenCertificateTokenor a certificate withinOCSPReqprotected CertEntityPKIDelegatedOCSPSource.getOcspResponder(CertificateToken certificateToken, CertificateToken issuerCertificateToken) protected CertEntityPKIOCSPSource.getOcspResponder(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Returns aCertEntityto be used as an OCSP Response issuer.protected org.bouncycastle.cert.ocsp.RespIDPKIOCSPSource.getRespID(CertificateToken ocspResponderCertificate) Builds aorg.bouncycastle.cert.ocsp.RespIDPKIOCSPSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) Retrieves the OCSP token for the revocation status of the given certificate.protected org.bouncycastle.cert.ocsp.BasicOCSPRespBuilderPKIOCSPSource.initBuilder(CertificateToken ocspResponderCertificate) Initializes aBasicOCSPRespBuilder -
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) OnlineCRLSource.getCRLAccessURLs(CertificateToken certificateToken, List<String> alternativeUrls) Extracts a list of CRL distribution point URLs to be used in the provided order to retrieve a CRLJdbcCacheCRLSource.getRevocationAccessUrls(CertificateToken certificateToken) 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) protected 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 byte[]OnlineOCSPSource.buildOCSPRequest(CertificateToken certificateToken, CertificateToken issuerToken, byte[] nonce) Builds an OCSP request forcertificateTokenprotected RevocationToken<OCSP> JdbcCacheOCSPSource.buildRevocationTokenFromResult(SqlRecord response, CertificateToken certificateToken, CertificateToken issuerCert) OnlineOCSPSource.getOCSPAccessURLs(CertificateToken certificateToken, List<String> alternativeUrls) Extracts a list of OCSP access URLs to be used in the provided order to retrieve an OCSP responseJdbcCacheOCSPSource.getRevocationAccessUrls(CertificateToken certificateToken) 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) protected 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) Methods in eu.europa.esig.dss.service.x509.aia with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected voidJdbcCacheAIASource.insertCertificate(String aiaKey, CertificateToken certificateTokens) -
Uses of CertificateToken in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that return CertificateTokenModifier and TypeMethodDescriptionAbstractSignatureParameters.getSigningCertificate()Get the signing certificateMethods in eu.europa.esig.dss.signature that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionAbstractSignatureParameters.getCertificateChain()Set the certificate chainMethods 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 aCertificateTokenvoidAbstractSignatureParameters.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.signature with type arguments of type CertificateTokenModifier and TypeMethodDescriptionvoidAbstractSignatureParameters.setCertificateChain(List<CertificateToken> certificateChain) Set the certificate chainConstructors in eu.europa.esig.dss.signature with parameters of type CertificateTokenModifierConstructorDescriptionprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate) The default constructorprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate, List<CertificateToken> certificateChain) A constructor with a certificateChainConstructor parameters in eu.europa.esig.dss.signature with type arguments of type CertificateTokenModifierConstructorDescriptionprotectedAbstractSignatureParametersBuilder(CertificateToken signingCertificate, List<CertificateToken> certificateChain) A constructor with a certificateChain -
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 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)SignatureCertificateSource.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)SignatureCertificateSource.getSignedDataCertificates()Retrieves the list of all certificates present in a signed element (i.e. the CMS Signed data (CAdES))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)static 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 BasicConstraintsCertificateExtensionsUtils.getBasicConstraints(CertificateToken certificateToken) Returns a basic constraints extension, when presentCertificateExtensionsUtils.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 presentCertificateExtensionsUtils.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) 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 presentCertificateExtensionsUtils.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 SubjectAlternativeNamesCertificateExtensionsUtils.getSubjectAlternativeNames(CertificateToken certificateToken) Returns a subject alternative names, when presentstatic 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 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.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.signature
Methods in eu.europa.esig.dss.spi.signature that return CertificateTokenModifier and TypeMethodDescriptionAdvancedSignature.getSigningCertificateToken()This method returns the signing certificate token or null if there is no valid signing certificate.DefaultAdvancedSignature.getSigningCertificateToken()Methods in eu.europa.esig.dss.spi.signature that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionAdvancedSignature.getCertificates()Get certificates embedded in the signatureDefaultAdvancedSignature.getCertificates()Returns an unmodifiable list of all certificate tokens encapsulated in the signatureMethod parameters in eu.europa.esig.dss.spi.signature with type arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected booleanBaselineRequirementsChecker.containsSigningCertificate(Collection<CertificateToken> certificateTokens) Checks if the given collection ofCertificateTokens contains the signing certificate for the signature -
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.Methods 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.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 TypeMethodDescriptionvoidTrustedListsCertificateSource.setTrustPropertiesByCertificates(Map<CertificateToken, List<TrustProperties>> trustPropertiesByCerts) -
Uses of CertificateToken in eu.europa.esig.dss.spi.validation
Methods in eu.europa.esig.dss.spi.validation that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionValidationData.getCertificateTokens()Gets certificate tokens to be included into the signatureSignatureValidationContext.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.Methods in eu.europa.esig.dss.spi.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.booleanSignatureValidationContext.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!CRLFirstRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken) OCSPFirstRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken) abstract RevocationTokenRevocationDataLoadingStrategy.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) This method retrieves aRevocationTokenfor the given certificateTokenbooleanRevocationDataVerifier.isAcceptable(RevocationToken<?> revocationToken, CertificateToken issuerCertificateToken) This method verifies the validity of the givenRevocationTokenbooleanRevocationDataVerifier.isRevocationDataSkip(CertificateToken certificateToken) Checks and returns whether the revocation check shall be skipped for the given certificateMethod parameters in eu.europa.esig.dss.spi.validation with type arguments of type CertificateTokenModifier and TypeMethodDescriptionvoidValidationData.excludeCertificateTokens(Collection<CertificateToken> certificateTokensToExclude) Removes all certificate token entries matching the provided collectionbooleanTimestampTokenVerifier.isAcceptable(TimestampToken timestampToken, List<CertificateToken> certificateChain) This method verifies whether the giventimestampTokenis valid and acceptable, and its POE can be extracted to the validation processprotected booleanTimestampTokenVerifier.isTrustedTimestampToken(TimestampToken timestampToken, List<CertificateToken> certificateChain) This method verifies whether thetimestampTokenis trusted to continue the process. -
Uses of CertificateToken in eu.europa.esig.dss.spi.validation.timestamp
Methods in eu.europa.esig.dss.spi.validation.timestamp with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected TimestampedReferenceAbstractTimestampSource.createReferenceForCertificate(CertificateToken certificateToken) Creates aTimestampedReferencefor the providedCertificateTokenMethod parameters in eu.europa.esig.dss.spi.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.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) ListCertificateSource.addCertificate(CertificateToken certificate) 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.findTokensFromCertRef(CertificateRef certificateRef) TokenCertificateSource.findTokensFromRefs(List<CertificateRef> certificateRefs) Returns Set ofCertificateTokens for the providedCertificateRefsCertificateSource.getByCertificateDigest(Digest digest) This method returns the Set of certificates with theDigestCommonCertificateSource.getByCertificateDigest(Digest digest) ListCertificateSource.getByCertificateDigest(Digest digest) 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) ListCertificateSource.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.BaselineBCertificateSelector.getCertificates()Returns a certificate chain for a B-level signature creationCertificateSource.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.ListCertificateSource.getCertificates()protected List<CertificateToken> TokenCertificateSource.getCertificateTokensByOrigin(CertificateOrigin origin) Gets a list ofCertificateTokens by the givenCertificateOriginCertificateReorderer.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.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) ListCertificateSource.addCertificate(CertificateToken certificate) protected voidTokenCertificateSource.addCertificate(CertificateToken certificate, CertificateOrigin origin) Adds aCertificateTokenwith itsCertificateOriginvoidKeyStoreCertificateSource.addCertificateToKeyStore(CertificateToken certificateToken) This method allows to add a certificate in the keystore.protected booleanCommonCertificateSource.doesCertificateReferenceMatch(CertificateToken certificateToken, CertificateRef certificateRef) This method verifies whether theCertificateRefdoes match to theCertificateTokenCommonTrustedCertificateSource.getAlternativeCRLUrls(CertificateToken trustAnchor) TrustedCertificateSource.getAlternativeCRLUrls(CertificateToken trustAnchor) Returns a list of alternative CRL access point Urls for certificates issued by the current trust anchorCommonTrustedCertificateSource.getAlternativeOCSPUrls(CertificateToken trustAnchor) TrustedCertificateSource.getAlternativeOCSPUrls(CertificateToken trustAnchor) Returns a list of alternative OCSP access point Urls for certificates issued by the current trust anchorListCertificateSource.getCertificateSourceType(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) CompositeRevocationSource.getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) CommonTrustedCertificateSource.getTrustServices(CertificateToken token) Deprecated.since DSS 6.1.booleanCertificateSource.isKnown(CertificateToken certificateToken) This method checks if a given certificate is known in the current sourcebooleanCommonCertificateSource.isKnown(CertificateToken token) booleanListCertificateSource.isKnown(CertificateToken certificateToken) 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 sourceCMSSignedDataBuilder.setSigningCertificate(CertificateToken signingCertificate) Sets a signing-certificate to be used for CMSSignedData generationMethod 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 keystoreorg.bouncycastle.cms.CMSSignedDataCMSSignedDataBuilder.extendCMSSignedData(Collection<CertificateToken> certificateTokens, Collection<CRLToken> crlTokens, Collection<OCSPToken> ocspTokens) Extends the providedcmsSignedDatawith the required validation dataCMSSignedDataBuilder.setCertificateChain(Collection<CertificateToken> certificateChain) Sets a collection of certificates to be incorporated within CMSSignedData.certificates fieldConstructors in eu.europa.esig.dss.spi.x509 with parameters of type CertificateTokenModifierConstructorDescriptionBaselineBCertificateSelector(CertificateToken signingCertificate, Collection<CertificateToken> certificateChain) Constructor to build a certificate chain forsigningCertificateCertificateReorderer(CertificateToken signingCertificate, Collection<CertificateToken> certificateChain) Constructor which takes a potential signing certificate and a certificate chainCertificateValidity(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 CertificateTokenModifierConstructorDescriptionBaselineBCertificateSelector(CertificateToken signingCertificate, Collection<CertificateToken> certificateChain) Constructor to build a certificate chain forsigningCertificateCertificateReorderer(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 certificateTokenIssuerSelector(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 CertificateTokenModifier and TypeMethodDescriptionAIACertificateSource.getIssuerFromAIA()Get the issuer's certificate from Authority Information Access through id-ad-caIssuers extension.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 keyAIASource.getCertificatesByAIA(CertificateToken certificateToken) Loads a set ofCertificateTokens accessed by AIA URIs from the providedcertificateTokenCompositeAIASource.getCertificatesByAIA(CertificateToken certificateToken) DefaultAIASource.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.getCAIssuersUrls(CertificateToken certificateToken) Returns a list of caIssuers URLs for the givencertificateTokenAIASource.getCertificatesByAIA(CertificateToken certificateToken) Loads a set ofCertificateTokens accessed by AIA URIs from the providedcertificateTokenCompositeAIASource.getCertificatesByAIA(CertificateToken certificateToken) DefaultAIASource.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 refreshprotected StringRepositoryAIASource.getCertificateTokenAIAUrl(CertificateToken certificateToken) Returns a caIssuers access URLprotected StringRepositoryAIASource.getUniqueCertificateAiaId(CertificateToken certificateToken, String aiaUrl) Generates a unique identifier for theCertificateTokenandaiaUrlpairprotected abstract voidRepositoryAIASource.insertCertificate(String aiaKey, CertificateToken certificateToken) This method allows inserting of a certificate into the DBConstructors in eu.europa.esig.dss.spi.x509.aia with parameters of type CertificateTokenModifierConstructorDescriptionAIACertificateSource(CertificateToken certificate, AIASource aiaSource) 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 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 correspondingkeyRepositoryRevocationSource.getRevocationAccessUrls(CertificateToken certificateToken) Returns a revocation access URLs of the given revocation type for the providedCertificateTokenprotected StringRepositoryRevocationSource.getRevocationSourceUrl(CertificateToken certificateToken, RevocationToken<R> revocationToken) Returns a revocation URL for the givenrevocationTokenOfflineRevocationSource.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.protected abstract StringRepositoryRevocationSource.getRevocationTokenKey(CertificateToken certificateToken, String urlString) Gets a unique revocation token identifier used to store the revocation token for thiscertificateTokenwithin a repositoryListRevocationSource.getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken) MultipleRevocationSource.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 givenCertificateTokenprotected booleanRepositoryRevocationSource.isNotExpired(RevocationToken<R> revocationToken, CertificateToken certificateTokenIssuer) Checks if the nextUpdate date is currently valid with respect of nextUpdateDelay and maxNexUpdateDelay parameters. -
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.spi.x509.tsp
Methods in eu.europa.esig.dss.spi.x509.tsp that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionTimestampToken.getCertificates()Returns the list of wrapped certificates.Methods in eu.europa.esig.dss.spi.x509.tsp with parameters of type CertificateTokenModifier and TypeMethodDescriptionprotected SignatureValidityTimestampToken.checkIsSignedBy(CertificateToken candidate) Checks if timestamp is signed by teh given certificatebooleanTimestampToken.isSignedBy(CertificateToken certificateToken) Checks if the timestamp token is signed by the given publicKeyConstructors in eu.europa.esig.dss.spi.x509.tsp with parameters of type CertificateTokenModifierConstructorDescriptionKeyEntityTSPSource(PrivateKey privateKey, CertificateToken certificateToken, List<CertificateToken> certificateChain) Constructor to instantiate KeyEntityTSPSource with the givenPrivateKeyand the correspondingcertificateTokenandcertificateChainConstructor parameters in eu.europa.esig.dss.spi.x509.tsp with type arguments of type CertificateTokenModifierConstructorDescriptionKeyEntityTSPSource(PrivateKey privateKey, CertificateToken certificateToken, List<CertificateToken> certificateChain) Constructor to instantiate KeyEntityTSPSource with the givenPrivateKeyand the correspondingcertificateTokenandcertificateChain -
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
Methods in eu.europa.esig.dss.validation with parameters of type CertificateTokenModifier and TypeMethodDescriptionstatic CertificateValidatorCertificateValidator.fromCertificate(CertificateToken token) Creates a CertificateValidator from a certificateToken -
Uses of CertificateToken in eu.europa.esig.dss.validation.reports.diagnostic
Fields in eu.europa.esig.dss.validation.reports.diagnostic 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.reports.diagnostic that return types with arguments of type CertificateTokenModifier and TypeMethodDescriptionprotected Collection<CertificateToken> DiagnosticDataBuilder.getUsedCertificatesByCertificateRef(CertificateRef certificateRef) Returns used certificate by thecertificateRefMethods in eu.europa.esig.dss.validation.reports.diagnostic with parameters of type CertificateTokenModifier and TypeMethodDescriptionXmlTrustServiceProviderBuilder.build(CertificateToken certificateToken, Map<CertificateToken, List<TrustProperties>> relatedTrustServices) This method builds a list ofXmlTrustServiceProviders corresponding to the givenCertificateTokenprotected XmlCertificateDiagnosticDataBuilder.buildDetachedXmlCertificate(CertificateToken certToken) This method builds anXmlCertificatefrom the givenCertificateTokenprotected XmlOrphanCertificateTokenDiagnosticDataBuilder.buildXmlOrphanCertificateToken(CertificateToken certificateToken) This method builds anXmlOrphanCertificateTokenfrom the givenCertificateTokenprotected XmlOrphanCertificateDiagnosticDataBuilder.getXmlOrphanCertificate(CertificateOrigin origin, CertificateToken certificateToken, TokenCertificateSource certificateSource, CertificateToken signingCertificate) This method builds anXmlOrphanCertificateTokenprotected 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.reports.diagnostic with type arguments of type CertificateTokenModifier and TypeMethodDescriptionXmlTrustServiceProviderBuilder.build(CertificateToken certificateToken, Map<CertificateToken, List<TrustProperties>> relatedTrustServices) This method builds a list ofXmlTrustServiceProviders corresponding to the givenCertificateTokenprotected 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) -
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