Uses of Class
eu.europa.esig.dss.model.x509.CertificateToken
-
Uses of CertificateToken in eu.europa.esig.dss
Methods in eu.europa.esig.dss that return CertificateToken Modifier and Type Method Description CertificateToken
AbstractSignatureParameters. getSigningCertificate()
Get the signing certificateMethods in eu.europa.esig.dss that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
AbstractSignatureParameters. getCertificateChain()
Set the certificate chainMap<CertificateToken,List<CertificateToken>>
CertificateReorderer. getOrderedCertificateChains()
This method is used to order the certificates (signing certificate, CA1, CA2 and Root)Map<CertificateToken,List<CertificateToken>>
CertificateReorderer. getOrderedCertificateChains()
This method is used to order the certificates (signing certificate, CA1, CA2 and Root)List<CertificateToken>
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 CertificateToken Modifier and Type Method Description void
AbstractSignatureParameters. setCertificateChain(CertificateToken... certificateChainArray)
This method sets the list of certificates which constitute the chain.void
AbstractSignatureParameters. setSigningCertificate(CertificateToken signingCertificate)
Set the signing certificate.Method parameters in eu.europa.esig.dss with type arguments of type CertificateToken Modifier and Type Method Description void
AbstractSignatureParameters. setCertificateChain(List<CertificateToken> certificateChain)
Set the certificate chainConstructors in eu.europa.esig.dss with parameters of type CertificateToken Constructor Description CertificateReorderer(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 CertificateToken Constructor Description CertificateReorderer(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 CertificateToken Modifier and Type Method Description static void
CMSUtils. 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 CertificateToken Constructor Description CadesLevelBaselineLTATimestampExtractor(org.bouncycastle.cms.CMSSignedData cmsSignedData, Collection<CertificateToken> certificates)
-
Uses of CertificateToken in eu.europa.esig.dss.crl
Methods in eu.europa.esig.dss.crl that return CertificateToken Modifier and Type Method Description CertificateToken
CRLValidity. getIssuerToken()
Methods in eu.europa.esig.dss.crl with parameters of type CertificateToken Modifier and Type Method Description static CRLValidity
CRLUtils. 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.CRLValidity
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.void
CRLValidity. setIssuerToken(CertificateToken issuerToken)
-
Uses of CertificateToken in eu.europa.esig.dss.crl.stream.impl
Methods in eu.europa.esig.dss.crl.stream.impl with parameters of type CertificateToken Modifier and Type Method Description CRLValidity
CRLUtilsStreamImpl. 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 CertificateToken Modifier and Type Method Description CRLValidity
CRLUtilsX509CRLImpl. 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.model
Methods in eu.europa.esig.dss.model that return CertificateToken Modifier and Type Method Description CertificateToken
SerializableSignatureParameters. 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 CertificateToken Constructor Description CertificateTokenIdentifier(CertificateToken certificateToken)
-
Uses of CertificateToken in eu.europa.esig.dss.model.x509
Methods in eu.europa.esig.dss.model.x509 with parameters of type CertificateToken Modifier and Type Method Description protected SignatureValidity
CertificateToken. checkIsSignedBy(CertificateToken candidate)
protected abstract SignatureValidity
Token. checkIsSignedBy(CertificateToken token)
Verifies if the current token has been signed by the specified certificateTokenboolean
CertificateToken. isEquivalent(CertificateToken token)
This method returns true if the given token is equivalent.boolean
Token. isSignedBy(CertificateToken token)
Checks if the token is signed by the given token in the parameter. -
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 CertificateToken Modifier and Type Method Description Map<Long,CertificateToken>
PAdESCertificateSource. getCertificateMap()
List<CertificateToken>
PAdESCertificateSource. getCertificateValues()
List<CertificateToken>
PAdESCertificateSource. getDSSDictionaryCertValues()
List<CertificateToken>
PAdESCertificateSource. getVRIDictionaryCertValues()
-
Uses of CertificateToken in eu.europa.esig.dss.pdf
Methods in eu.europa.esig.dss.pdf that return types with arguments of type CertificateToken Modifier and Type Method Description Set<CertificateToken>
DSSDictionaryCallback. getCertificates()
Map<Long,CertificateToken>
AbstractPdfDssDict. getCERTs()
Map<Long,CertificateToken>
PdfDssDict. getCERTs()
Returns a map of unique identifiers and Certificate Tokensstatic Map<Long,CertificateToken>
DSSDictionaryExtractionUtils. getCertsFromArray(PdfDict dict, String dictionaryName, String arrayName)
Map<Long,CertificateToken>
DSSDictionaryCallback. getStoredCertificates()
Method parameters in eu.europa.esig.dss.pdf with type arguments of type CertificateToken Modifier and Type Method Description void
DSSDictionaryCallback. setCertificates(Set<CertificateToken> certificates)
-
Uses of CertificateToken in eu.europa.esig.dss.service.crl
Methods in eu.europa.esig.dss.service.crl with parameters of type CertificateToken Modifier and Type Method Description protected RevocationToken<CRL>
JdbcCacheCRLSource. buildRevocationTokenFromResult(ResultSet rs, CertificateToken certificateToken, CertificateToken issuerCert)
CRLToken
JdbcCacheCRLSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
CRLToken
JdbcCacheCRLSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh)
CRLToken
OnlineCRLSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
CRLToken
OnlineCRLSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken, List<String> alternativeUrls)
List<String>
JdbcCacheCRLSource. initRevocationTokenKey(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 CertificateToken Modifier and Type Method Description List<CertificateToken>
SSLCertificateLoader. 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 CertificateToken Modifier and Type Method Description protected OCSPToken
JdbcCacheOCSPSource. buildRevocationTokenFromResult(ResultSet rs, CertificateToken certificateToken, CertificateToken issuerCert)
OCSPToken
JdbcCacheOCSPSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
OCSPToken
JdbcCacheOCSPSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh)
OCSPToken
OnlineOCSPSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
OCSPToken
OnlineOCSPSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls)
List<String>
JdbcCacheOCSPSource. initRevocationTokenKey(CertificateToken certificateToken)
-
Uses of CertificateToken in eu.europa.esig.dss.signature
Methods in eu.europa.esig.dss.signature that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
BaselineBCertificateSelector. getCertificates()
-
Uses of CertificateToken in eu.europa.esig.dss.spi
Methods in eu.europa.esig.dss.spi that return CertificateToken Modifier and Type Method Description static CertificateToken
DSSASN1Utils. getCertificate(org.bouncycastle.cert.X509CertificateHolder x509CertificateHolder)
static CertificateToken
DSSUtils. loadCertificate(byte[] input)
This method loads a certificate from the byte array.static CertificateToken
DSSUtils. loadCertificate(File file)
This method loads a certificate from the given location.static CertificateToken
DSSUtils. loadCertificate(InputStream inputStream)
This method loads a certificate from the given location.static CertificateToken
DSSUtils. 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 CertificateToken Modifier and Type Method Description static Collection<CertificateToken>
DSSUtils. loadCertificateFromP7c(InputStream is)
static Collection<CertificateToken>
DSSUtils. loadPotentialIssuerCertificates(CertificateToken cert, DataLoader loader)
This method loads the potential issuer certificate(s) from the given locations (AIA).Methods in eu.europa.esig.dss.spi with parameters of type CertificateToken Modifier and Type Method Description static byte[]
DSSASN1Utils. computeSkiFromCert(CertificateToken certificateToken)
Computes SHA-1 hash of thecertificateToken
's public keystatic String
DSSUtils. convertToPEM(CertificateToken cert)
This method converts the given certificate into its PEM string.static byte[]
DSSASN1Utils. getAuthorityKeyIdentifier(CertificateToken certificateToken)
This method returns authority key identifier as binaries from the certificate extension (SHA-1 of the public key of the issuer certificate).static List<String>
DSSASN1Utils. getCAAccessLocations(CertificateToken certificate)
Gives back the CA URIs meta-data found within the given certificate.static List<CertificatePolicy>
DSSASN1Utils. getCertificatePolicies(CertificateToken certToken)
static List<String>
DSSRevocationUtils. getCRLRevocationTokenKeys(CertificateToken certificateToken)
static List<String>
DSSASN1Utils. getCrlUrls(CertificateToken certificateToken)
Gives back theList
of CRL URI meta-data found within the given X509 certificate.static List<String>
DSSASN1Utils. getExtendedKeyUsage(CertificateToken certToken)
static String
DSSASN1Utils. getHumanReadableName(CertificateToken cert)
static org.bouncycastle.asn1.x509.IssuerSerial
DSSASN1Utils. getIssuerSerial(CertificateToken certToken)
This method returns a new IssuerSerial based on the certificate tokenstatic org.bouncycastle.cert.ocsp.SingleResp
DSSRevocationUtils. getLatestSingleResponse(org.bouncycastle.cert.ocsp.BasicOCSPResp basicResponse, CertificateToken certificate, CertificateToken issuer)
static List<String>
DSSASN1Utils. getOCSPAccessLocations(CertificateToken certificate)
Gives back the OCSP URIs meta-data found within the given X509 cert.static org.bouncycastle.cert.ocsp.CertificateID
DSSRevocationUtils. getOCSPCertificateID(CertificateToken cert, CertificateToken issuerCert, DigestAlgorithm digestAlgorithm)
Returns theCertificateID
for the given certificate and its issuer's certificate.static String
DSSRevocationUtils. getOcspRevocationKey(CertificateToken certificateToken, String ocspUrl)
static List<String>
DSSRevocationUtils. getOcspRevocationTokenKeys(CertificateToken certificateToken)
static PSD2QcType
DSSASN1Utils. getPSD2QcStatement(CertificateToken certToken)
This method extract the PSD2 QcStatement informations for a given certificatestatic List<String>
DSSASN1Utils. getQCLegislations(CertificateToken certToken)
static List<String>
DSSASN1Utils. getQCStatementsIdList(CertificateToken certToken)
Get the list of all QCStatement Ids that are present in the certificate.static List<String>
DSSASN1Utils. getQCTypesIdList(CertificateToken certToken)
Get the list of all QCType Ids that are present in the certificate.static SemanticsIdentifier
DSSASN1Utils. getSemanticsIdentifier(CertificateToken certToken)
static List<org.bouncycastle.cert.ocsp.SingleResp>
DSSRevocationUtils. getSingleResponses(org.bouncycastle.cert.ocsp.BasicOCSPResp basicResponse, CertificateToken certificate, CertificateToken issuer)
static byte[]
DSSASN1Utils. getSki(CertificateToken certificateToken)
This method returns the Subject Key Identifier (SKI) bytes from the certificate extension (SHA-1 of the public key of the current certificate).static byte[]
DSSASN1Utils. getSki(CertificateToken certificateToken, boolean computeIfMissing)
This method returns SKI bytes from certificate.static List<String>
DSSASN1Utils. getSubjectAlternativeNames(CertificateToken certToken)
static String
DSSASN1Utils. getSubjectCommonName(CertificateToken cert)
static org.bouncycastle.cert.X509CertificateHolder
DSSASN1Utils. getX509CertificateHolder(CertificateToken certToken)
Returns aX509CertificateHolder
encapsulating the givenX509Certificate
.static boolean
DSSASN1Utils. hasIdPkixOcspNoCheckExtension(CertificateToken token)
Indicates if the revocation data should be checked for an OCSP signing certificate.
http://www.ietf.org/rfc/rfc2560.txt?static boolean
DSSASN1Utils. isExtendedKeyUsagePresent(CertificateToken certToken, org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
static boolean
DSSASN1Utils. isOCSPSigning(CertificateToken certToken)
Indicates that a X509Certificates corresponding private key is used by an authority to sign OCSP-Responses.
http://www.ietf.org/rfc/rfc3280.txt
http://tools.ietf.org/pdf/rfc6960.pdf 4.2.2.2
{iso(1) identified-organization(3) dod(6) internet(1) security(5) mechanisms(5) pkix(7) keyPurpose(3) ocspSigning(9)}
OID: 1.3.6.1.5.5.7.3.9static boolean
DSSASN1Utils. isSkiEqual(byte[] ski, CertificateToken certificateToken)
Checks if the provided ski matches to a ski computed from a certificateToken's public keystatic Collection<CertificateToken>
DSSUtils. loadPotentialIssuerCertificates(CertificateToken cert, DataLoader loader)
This method loads the potential issuer certificate(s) from the given locations (AIA). -
Uses of CertificateToken in eu.europa.esig.dss.spi.tsl
Methods in eu.europa.esig.dss.spi.tsl that return CertificateToken Modifier and Type Method Description CertificateToken
TrustedListsCertificateSource. addCertificate(CertificateToken certificate)
This method is not applicable for this kind of certificate source.CertificateToken
ValidationInfoRecord. getSigningCertificate()
Methods in eu.europa.esig.dss.spi.tsl that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
OtherTSLPointer. getCertificates()
List<CertificateToken>
TrustService. getCertificates()
Map<CertificateToken,CertificatePivotStatus>
PivotInfo. getCertificateStatusMap()
Returns a map of certificate tokens with a status regarding to the current pivotList<CertificateToken>
ValidationInfoRecord. getPotentialSigners()
Methods in eu.europa.esig.dss.spi.tsl with parameters of type CertificateToken Modifier and Type Method Description CertificateToken
TrustedListsCertificateSource. addCertificate(CertificateToken certificate)
This method is not applicable for this kind of certificate source.boolean
Condition. check(CertificateToken certificateToken)
Returns true if the condition is evaluated to true for the given certificate.List<String>
TrustedListsCertificateSource. getAlternativeCRLUrls(CertificateToken trustAnchor)
List<String>
TrustedListsCertificateSource. getAlternativeOCSPUrls(CertificateToken trustAnchor)
List<TrustProperties>
TrustedListsCertificateSource. getTrustServices(CertificateToken token)
Method parameters in eu.europa.esig.dss.spi.tsl with type arguments of type CertificateToken Modifier and Type Method Description TrustService.TrustServiceBuilder
TrustService.TrustServiceBuilder. setCertificates(List<CertificateToken> certificates)
void
TrustedListsCertificateSource. 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 CertificateToken Constructor Description OtherTSLPointer(String location, List<CertificateToken> certificates)
PivotInfo(DownloadInfoRecord downloadCacheInfo, ParsingInfoRecord parsingCacheInfo, ValidationInfoRecord validationCacheInfo, String url, Map<CertificateToken,CertificatePivotStatus> certificates, String lotlLocation)
The default constructorTrustService(List<CertificateToken> certificates, TimeDependentValues<TrustServiceStatusAndInformationExtensions> status)
-
Uses of CertificateToken in eu.europa.esig.dss.spi.x509
Methods in eu.europa.esig.dss.spi.x509 that return CertificateToken Modifier and Type Method Description CertificateToken
CertificateSource. addCertificate(CertificateToken certificate)
This method allows to manually add any certificate to the source.CertificateToken
CommonCertificateSource. addCertificate(CertificateToken certificateToAdd)
This method adds an external certificate to the source.CertificateToken
KeyStoreCertificateSource. getCertificate(String alias)
This method allows to retrieve a certificate by its aliasCertificateToken
CertificateValidity. getCertificateToken()
protected CertificateToken
TokenCertificateSource. getCertificateToken(CertificateIdentifier certificateIdentifier)
Methods in eu.europa.esig.dss.spi.x509 that return types with arguments of type CertificateToken Modifier and Type Method Description Set<CertificateToken>
TokenCertificateSource. findTokensFromRefs(List<CertificateRef> certificateRefs)
Returns Set ofCertificateToken
s for the providedCertificateRef
sSet<CertificateToken>
ListCertificateSource. getAllCertificateTokens()
Returns a set of all containing certificate tokensSet<CertificateToken>
CertificateSource. getByCertificateIdentifier(CertificateIdentifier certificateIdentifier)
This method returns the Set of certificates with theCertificateIdentifier
Set<CertificateToken>
CommonCertificateSource. getByCertificateIdentifier(CertificateIdentifier certificateIdentifier)
Set<CertificateToken>
ListCertificateSource. getByCertificateIdentifier(CertificateIdentifier certificateIdentifier)
This method returns the foundCertificateToken
from allCertificateSource
for the givenCertificateIdentifier
.Set<CertificateToken>
CertificateSource. getByPublicKey(PublicKey publicKey)
This method returns a Set ofCertificateToken
with the givenPublicKey
Set<CertificateToken>
CommonCertificateSource. getByPublicKey(PublicKey publicKey)
This method returns a list ofCertificateToken
with the givenPublicKey
Set<CertificateToken>
ListCertificateSource. getByPublicKey(PublicKey publicKey)
Set<CertificateToken>
CertificateSource. getBySki(byte[] ski)
This method returns a Set ofCertificateToken
with the given SKI (SubjectKeyIdentifier (SHA-1 of the PublicKey))Set<CertificateToken>
CommonCertificateSource. getBySki(byte[] ski)
This method returns a list ofCertificateToken
with the given SKI (SubjectKeyIdentifier (SHA-1 of the PublicKey))Set<CertificateToken>
ListCertificateSource. getBySki(byte[] ski)
This method returns the foundCertificateToken
from allCertificateSource
for the given subject key identifier (SHA-1 of the public key).Set<CertificateToken>
CertificateSource. getBySubject(X500PrincipalHelper subject)
This method returns the Set of certificates with the same subjectDN.Set<CertificateToken>
CommonCertificateSource. getBySubject(X500PrincipalHelper subject)
This method returns the Set of certificates with the same subjectDN.Set<CertificateToken>
ListCertificateSource. getBySubject(X500PrincipalHelper subject)
This method returns the foundCertificateToken
from allCertificateSource
for the givenX500PrincipalHelper
.List<CertificateToken>
CertificateSource. getCertificates()
Retrieves the unmodifiable list of all certificate tokens from this source.List<CertificateToken>
CommonCertificateSource. getCertificates()
Retrieves the unmodifiable list of all certificate tokens from this source.List<CertificateToken>
KeyStoreCertificateSource. getCertificates()
This method returns all certificates from the keystoreprotected List<CertificateToken>
TokenCertificateSource. getCertificateTokensByOrigin(CertificateOrigin origin)
List<CertificateToken>
CandidatesForSigningCertificate. getSigningCertificateTokenList()
Methods in eu.europa.esig.dss.spi.x509 with parameters of type CertificateToken Modifier and Type Method Description CertificateToken
CertificateSource. addCertificate(CertificateToken certificate)
This method allows to manually add any certificate to the source.CertificateToken
CommonCertificateSource. addCertificate(CertificateToken certificateToAdd)
This method adds an external certificate to the source.protected void
TokenCertificateSource. addCertificate(CertificateToken certificate, CertificateOrigin origin)
Adds aCertificateToken
with itsCertificateOrigin
void
KeyStoreCertificateSource. addCertificateToKeyStore(CertificateToken certificateToken)
This method allows to add a certificate in the keystore.List<String>
CommonTrustedCertificateSource. getAlternativeCRLUrls(CertificateToken trustAnchor)
List<String>
CommonTrustedCertificateSource. getAlternativeOCSPUrls(CertificateToken trustAnchor)
Set<CertificateSourceType>
ListCertificateSource. getCertificateSource(CertificateToken certificateToken)
This method return the differentCertificateSourceType
where the certificate is foundList<CertificateRef>
TokenCertificateSource. getReferencesForCertificateToken(CertificateToken certificateToken)
Returns list ofCertificateRef
s found for the givencertificateToken
RevocationToken<R>
AlternateUrlsSourceAdapter. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
RevocationToken<R>
AlternateUrlsSourceAdapter. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls)
List<TrustProperties>
CommonTrustedCertificateSource. getTrustServices(CertificateToken token)
boolean
CertificateSource. isKnown(CertificateToken certificateToken)
This method checks if a given certificate is known in the current sourceboolean
CommonCertificateSource. isKnown(CertificateToken token)
boolean
CertificateIdentifier. isRelatedToCertificate(CertificateToken certificateToken)
Checks if the current SerialInfo is related to a provided CertificateTokenboolean
ResponderId. isRelatedToCertificate(CertificateToken certificateToken)
Checks if the ResponderId is related to a provided certificateTokenboolean
CertificateSource. isTrusted(CertificateToken certificateToken)
This method checks if a given certificate is trustedboolean
CommonCertificateSource. isTrusted(CertificateToken certificateToken)
boolean
CommonTrustedCertificateSource. isTrusted(CertificateToken certificateToken)
boolean
ListCertificateSource. isTrusted(CertificateToken certificateToken)
This method checks in all sources in the given certificate is trustedboolean
CertificateTokenRefMatcher. match(CertificateToken certificateToken, CertificateRef certificateRef)
boolean
CertificateTokenRefMatcher. matchByDigest(CertificateToken certificateToken, CertificateRef certificateRef)
boolean
CertificateTokenRefMatcher. matchByIssuerName(CertificateToken certificateToken, CertificateRef certificateRef)
boolean
CertificateTokenRefMatcher. matchByResponderId(CertificateToken certificateToken, CertificateRef certificateRef)
boolean
CertificateTokenRefMatcher. matchBySerialNumber(CertificateToken certificateToken, CertificateRef certificateRef)
Method parameters in eu.europa.esig.dss.spi.x509 with type arguments of type CertificateToken Modifier and Type Method Description void
KeyStoreCertificateSource. 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 CertificateToken Constructor Description CertificateValidity(CertificateToken certificateToken)
This constructor create an object containing all information concerning the validity of a candidate for the signing certificate. -
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.revocation
Fields in eu.europa.esig.dss.spi.x509.revocation declared as CertificateToken Modifier and Type Field Description protected CertificateToken
RevocationToken. relatedCertificate
RelatedCertificateToken
to this revocation objectMethods in eu.europa.esig.dss.spi.x509.revocation that return CertificateToken Modifier and Type Method Description abstract CertificateToken
RevocationToken. getIssuerCertificateToken()
Returns issuerCertificateToken
Methods in eu.europa.esig.dss.spi.x509.revocation with parameters of type CertificateToken Modifier and Type Method Description protected abstract RevocationToken<R>
JdbcRevocationSource. buildRevocationTokenFromResult(ResultSet rs, CertificateToken certificateToken, CertificateToken issuerCertificateToken)
BuildRevocationToken
from the obtainedResultSet
protected RevocationToken<R>
JdbcRevocationSource. findRevocation(String key, CertificateToken certificateToken, CertificateToken issuerCertificateToken)
protected abstract RevocationToken<R>
RepositoryRevocationSource. findRevocation(String key, CertificateToken certificateToken, CertificateToken issuerCertToken)
Finds a RevocationToken in the cacheRevocationToken<R>
RepositoryRevocationSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
RevocationToken<R>
RepositoryRevocationSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, boolean forceRefresh)
Retrieves a revocation token for the givenCertificateToken
RevocationToken<R>
RevocationSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
This method retrieves aRevocationToken
for the certificateTokenRevocationToken<R>
RevocationSourceAlternateUrlsSupport. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken, List<String> alternativeUrls)
Gets anRevocationToken
for the given certificate / issuer's certificate couple.List<RevocationToken<R>>
MultipleRevocationSource. getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
This method retrieves a list ofRevocationToken
for the certificateTokenabstract List<String>
RepositoryRevocationSource. initRevocationTokenKey(CertificateToken certificateToken)
Initialize a list of revocation token keysString
from the givenCertificateToken
void
RevocationToken. setRelatedCertificate(CertificateToken relatedCertificate)
-
Uses of CertificateToken in eu.europa.esig.dss.spi.x509.revocation.crl
Methods in eu.europa.esig.dss.spi.x509.revocation.crl that return CertificateToken Modifier and Type Method Description CertificateToken
CRLToken. getIssuerCertificateToken()
Methods in eu.europa.esig.dss.spi.x509.revocation.crl with parameters of type CertificateToken Modifier and Type Method Description protected SignatureValidity
CRLToken. checkIsSignedBy(CertificateToken token)
CRLToken
CRLSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
List<RevocationToken<CRL>>
OfflineCRLSource. getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerToken)
Constructors in eu.europa.esig.dss.spi.x509.revocation.crl with parameters of type CertificateToken Constructor Description CRLToken(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 CertificateToken Modifier and Type Method Description CertificateToken
OCSPToken. getIssuerCertificateToken()
Methods in eu.europa.esig.dss.spi.x509.revocation.ocsp with parameters of type CertificateToken Modifier and Type Method Description protected SignatureValidity
OCSPToken. checkIsSignedBy(CertificateToken candidate)
CandidatesForSigningCertificate
OCSPCertificateSource. getCandidatesForSigningCertificate(CertificateToken certificateIssuer)
Returns candidates for the OCSP Response's signing certificateOCSPToken
OCSPSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
List<RevocationToken<OCSP>>
OfflineOCSPSource. getRevocationTokens(CertificateToken certificate, CertificateToken issuer)
boolean
OCSPToken. isSignedBy(CertificateToken token)
Constructors in eu.europa.esig.dss.spi.x509.revocation.ocsp with parameters of type CertificateToken Constructor Description OCSPToken(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 CertificateToken Modifier and Type Method Description CertificateToken
DSSPrivateKeyEntry. getCertificate()
Retrieve the signing certificateCertificateToken
KSPrivateKeyEntry. getCertificate()
CertificateToken[]
DSSPrivateKeyEntry. getCertificateChain()
Retrieve the certificate chain linkedCertificateToken[]
KSPrivateKeyEntry. getCertificateChain()
-
Uses of CertificateToken in eu.europa.esig.dss.tsl.dto
Methods in eu.europa.esig.dss.tsl.dto that return CertificateToken Modifier and Type Method Description CertificateToken
ValidationCacheDTO. getSigningCertificate()
Methods in eu.europa.esig.dss.tsl.dto that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
ValidationCacheDTO. getPotentialSigners()
Methods in eu.europa.esig.dss.tsl.dto with parameters of type CertificateToken Modifier and Type Method Description void
ValidationCacheDTO. setSigningCertificate(CertificateToken signingCertificate)
Method parameters in eu.europa.esig.dss.tsl.dto with type arguments of type CertificateToken Modifier and Type Method Description void
ValidationCacheDTO. setPotentialSigners(List<CertificateToken> potentialSigners)
-
Uses of CertificateToken in eu.europa.esig.dss.tsl.dto.condition
Methods in eu.europa.esig.dss.tsl.dto.condition with parameters of type CertificateToken Modifier and Type Method Description boolean
CertSubjectDNAttributeCondition. check(CertificateToken certificateToken)
boolean
CompositeCondition. check(CertificateToken certificateToken)
Execute the composite condition of the given certificateboolean
ExtendedKeyUsageCondition. check(CertificateToken certificateToken)
boolean
KeyUsageCondition. check(CertificateToken certificateToken)
boolean
PolicyIdCondition. 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 CertificateToken Modifier and Type Method Description List<CertificateToken>
DigitalIdentityListTypeConverter. apply(DigitalIdentityListType digitalIdentityList)
-
Uses of CertificateToken in eu.europa.esig.dss.tsl.validation
Methods in eu.europa.esig.dss.tsl.validation that return CertificateToken Modifier and Type Method Description CertificateToken
ValidationResult. getSigningCertificate()
Methods in eu.europa.esig.dss.tsl.validation that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
ValidationResult. getPotentialSigners()
Constructors in eu.europa.esig.dss.tsl.validation with parameters of type CertificateToken Constructor Description ValidationResult(Indication indication, SubIndication subIndication, Date signingTime, CertificateToken signingCertificate, CertificateSource certificateSource)
-
Uses of CertificateToken in eu.europa.esig.dss.validation
Fields in eu.europa.esig.dss.validation declared as CertificateToken Modifier and Type Field Description protected CertificateToken
DefaultAdvancedSignature. providedSigningCertificateToken
In the case of a non AdES signature the signing certificate is not mandatory within the signature and can be provided by the driving application.protected CertificateToken
SignedDocumentValidator. providedSigningCertificateToken
Methods in eu.europa.esig.dss.validation that return CertificateToken Modifier and Type Method Description CertificateToken
AIACertificateSource. getIssuerFromAIA()
Get the issuer's certificate from Authority Information Access through id-ad-caIssuers extension.CertificateToken
AdvancedSignature. getProvidedSigningCertificateToken()
CertificateToken
DefaultAdvancedSignature. getProvidedSigningCertificateToken()
CertificateToken
AdvancedSignature. getSigningCertificateToken()
This method returns the signing certificate token or null if there is no valid signing certificate.CertificateToken
DefaultAdvancedSignature. getSigningCertificateToken()
Methods in eu.europa.esig.dss.validation that return types with arguments of type CertificateToken Modifier and Type Method Description List<CertificateToken>
SignatureCertificateSource. getAttrAuthoritiesCertValues()
Retrieves the list of all certificates from the AttrAuthoritiesCertValues (XAdES)Set<CertificateToken>
SignatureCertificateSource. getAttributeCertificates()
Retrieves the Set ofCertificateToken
s according to references included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)List<CertificateToken>
AdvancedSignature. getCertificates()
Get certificates embedded in the signatureList<CertificateToken>
DefaultAdvancedSignature. getCertificates()
Returns an unmodifiable list of all certificate tokens encapsulated in the signatureMap<CertificateToken,Set<CertificateSourceType>>
SignatureValidationContext. getCertificateSourceTypes()
Map<CertificateToken,Set<CertificateSourceType>>
ValidationContext. getCertificateSourceTypes()
Returns a map ofCertificateSourceType
byCertificateToken
which contains the sources where the certificate was found.Set<CertificateToken>
ValidationDataForInclusion. getCertificateTokens()
List<CertificateToken>
SignatureCertificateSource. getCertificateValues()
Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)Set<CertificateToken>
SignatureCertificateSource. getCompleteCertificates()
Retrieves the Set ofCertificateToken
s according references to included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)List<CertificateToken>
SignatureCertificateSource. getDSSDictionaryCertValues()
Retrieves the list of all certificates from the DSS dictionary (PAdES)List<CertificateToken>
SignatureCertificateSource. getKeyInfoCertificates()
Retrieves the list of all certificates present in the KeyInfo element (XAdES) (can be unsigned)Set<CertificateToken>
SignatureValidationContext. getProcessedCertificates()
Set<CertificateToken>
ValidationContext. getProcessedCertificates()
Returns a read only list of all certificates used in the process of the validation of all signatures from the given document.List<CertificateToken>
SignatureCertificateSource. getSignedDataCertificates()
Retrieves the list of all certificates present in a signed element (i.e. the CMS Signed data (CAdES))Set<CertificateToken>
SignatureCertificateSource. getSigningCertificates()
Retrieves the Set ofCertificateToken
s for the signing certificate (V1/V2)List<CertificateToken>
SignatureCertificateSource. getTimeStampValidationDataCertValues()
Retrieves the list of all certificates from the TimeStampValidationData (XAdES)List<CertificateToken>
SignatureCertificateSource. getVRIDictionaryCertValues()
Retrieves the list of all certificates from the VRI dictionary (PAdES)Methods in eu.europa.esig.dss.validation with parameters of type CertificateToken Modifier and Type Method Description void
SignatureValidationContext. addCertificateTokenForVerification(CertificateToken certificateToken)
void
ValidationContext. addCertificateTokenForVerification(CertificateToken certificateToken)
Adds a new certificate token to the list of tokens to verify.boolean
SignatureValidationContext. checkAtLeastOneRevocationDataPresentAfterBestSignatureTime(CertificateToken signingCertificate)
boolean
ValidationContext. checkAtLeastOneRevocationDataPresentAfterBestSignatureTime(CertificateToken signingCertificate)
This method allows to verify if there is at least one revocation data present after the earliest available timestamp token producing time Additionally, an alert can be handledCertificateVerifier.setAlertOnNoRevocationAfterBestSignatureTime(eu.europa.esig.dss.alert.StatusAlert)
RevocationToken<CRL>
OCSPAndCRLRevocationSource. checkCRL(CertificateToken certificateToken, CertificateToken issuerToken)
RevocationToken<OCSP>
OCSPAndCRLRevocationSource. checkOCSP(CertificateToken certificateToken, CertificateToken issuerToken)
void
DocumentValidator. defineSigningCertificate(CertificateToken x509Certificate)
This method allows to define the signing certificate.void
SignedDocumentValidator. defineSigningCertificate(CertificateToken token)
protected CandidatesForSigningCertificate
CMSCertificateSource. extractCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)
protected abstract CandidatesForSigningCertificate
SignatureCertificateSource. extractCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)
Extracts candidates to be a signing certificate from the sourcestatic CertificateValidator
CertificateValidator. fromCertificate(CertificateToken token)
CandidatesForSigningCertificate
SignatureCertificateSource. getCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)
Gets an object containing the signing certificate or information indicating why it is impossible to extract it from the signature.RevocationToken<Revocation>
OCSPAndCRLRevocationSource. getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken)
This method tries firstly to collect from the OCSP Source and than from the CRL Source.List<RevocationToken<R>>
ListRevocationSource. getRevocationTokens(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
void
AdvancedSignature. setProvidedSigningCertificateToken(CertificateToken certificateToken)
This method allows to provide a signing certificate to be used in the validation process.void
DefaultAdvancedSignature. setProvidedSigningCertificateToken(CertificateToken certificateToken)
Method parameters in eu.europa.esig.dss.validation with type arguments of type CertificateToken Modifier and Type Method Description DiagnosticDataBuilder
DiagnosticDataBuilder. certificateSourceTypes(Map<CertificateToken,Set<CertificateSourceType>> certificateSourceTypes)
This method allows to set the certificate source typesValidationDataForInclusionBuilder
ValidationDataForInclusionBuilder. excludeCertificateTokens(Collection<CertificateToken> excludeCertificateTokens)
Sets a collection of certificate tokens to be excluded from the inclusion setDiagnosticDataBuilder
DiagnosticDataBuilder. usedCertificates(Set<CertificateToken> usedCertificates)
This method allows to set the used certificatesConstructors in eu.europa.esig.dss.validation with parameters of type CertificateToken Constructor Description AIACertificateSource(CertificateToken certificate, DataLoader dataLoader)
-
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 CertificateToken Modifier and Type Method Description List<CertificateToken>
TimestampToken. getCertificates()
Returns the list of wrapped certificates.Methods in eu.europa.esig.dss.validation.timestamp with parameters of type CertificateToken Modifier and Type Method Description protected SignatureValidity
TimestampToken. checkIsSignedBy(CertificateToken candidate)
Method parameters in eu.europa.esig.dss.validation.timestamp with type arguments of type CertificateToken Modifier and Type Method Description protected List<TimestampedReference>
AbstractTimestampSource. createReferencesForCertificates(Collection<CertificateToken> certificates)
Creates a list ofTimestampedReference
s 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 CertificateToken Modifier and Type Method Description static CertificateToken
RemoteCertificateConverter. toCertificateToken(RemoteCertificate remoteCertificate)
Converts the givenremoteCertificate
to aCertificateToken
Methods in eu.europa.esig.dss.ws.converter that return types with arguments of type CertificateToken Modifier and Type Method Description static List<CertificateToken>
RemoteCertificateConverter. toCertificateTokens(List<RemoteCertificate> remoteCertificates)
Converts the given list ofremoteCertificates
to a list ofCertificateToken
sMethods in eu.europa.esig.dss.ws.converter with parameters of type CertificateToken Modifier and Type Method Description static RemoteCertificate
RemoteCertificateConverter. toRemoteCertificate(CertificateToken certificate)
Converts the givencertificate
to aRemoteCertificate
-
Uses of CertificateToken in eu.europa.esig.dss.xades.signature
Methods in eu.europa.esig.dss.xades.signature with parameters of type CertificateToken Modifier and Type Method Description protected Element
XAdESBuilder. incorporateCert(Element parentDom, CertificateToken certificate)
Creates Cert DOM object:protected void
XAdESBuilder. incorporateIssuerV1(Element parentDom, CertificateToken certificate)
protected void
XAdESBuilder. incorporateIssuerV2(Element parentDom, CertificateToken certificate)
Method parameters in eu.europa.esig.dss.xades.signature with type arguments of type CertificateToken Modifier and Type Method Description protected void
XAdESBuilder. incorporateCertificateRef(Element signingCertificateDom, Set<CertificateToken> certificates)
Incorporates the certificate's references as a child of the given parent node.protected Element
XAdESLevelBaselineT. incorporateCertificateValues(Element parentDom, Collection<CertificateToken> certificatesToBeAdded)
This method incorporates all certificates passed as parameter :protected void
XAdESLevelBaselineT. 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 -
Uses of CertificateToken in eu.europa.esig.dss.xades.validation
Methods in eu.europa.esig.dss.xades.validation with parameters of type CertificateToken Modifier and Type Method Description protected CandidatesForSigningCertificate
XAdESCertificateSource. extractCandidatesForSigningCertificate(CertificateToken providedSigningCertificateToken)