Package eu.europa.esig.dss.validation
Class CMSCertificateSource
java.lang.Object
eu.europa.esig.dss.spi.x509.CommonCertificateSource
eu.europa.esig.dss.validation.SignatureCertificateSource
eu.europa.esig.dss.validation.CMSCertificateSource
- All Implemented Interfaces:
CertificateSource
,Serializable
- Direct Known Subclasses:
CAdESCertificateSource
public abstract class CMSCertificateSource extends SignatureCertificateSource
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected org.bouncycastle.asn1.cms.AttributeTable
unsignedAttributes
-
Constructor Summary
Constructors Modifier Constructor Description protected
CMSCertificateSource(org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes, CertificatePool certPool)
-
Method Summary
Modifier and Type Method Description List<CertificateRef>
getAttributeCertificateRefs()
Retrieves the list ofCertificateRef
s included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)List<CertificateToken>
getCertificateValues()
Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)List<CertificateRef>
getCompleteCertificateRefs()
Retrieves the list ofCertificateRef
s included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)Methods inherited from class eu.europa.esig.dss.validation.SignatureCertificateSource
findTokensFromRefs, getAllCertificateRefs, getAttrAuthoritiesCertValues, getAttributeCertificates, getCertificateRefByDigest, getCertificateSourceType, getCompleteCertificates, getDSSDictionaryCertValues, getIssuerInfo, getKeyInfoCertificates, getOrphanCertificateRefs, getReferencesForCertificateToken, getSigningCertificates, getSigningCertificateValues, getTimeStampValidationDataCertValues, getVRIDictionaryCertValues
Methods inherited from class eu.europa.esig.dss.spi.x509.CommonCertificateSource
addCertificate, getCertificatePool, getCertificates, getCertificateTokenByDigest, getNumberOfCertificates, isTrusted, removeCertificate
-
Field Details
-
unsignedAttributes
protected final transient org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes
-
-
Constructor Details
-
CMSCertificateSource
protected CMSCertificateSource(org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes, CertificatePool certPool)
-
-
Method Details
-
getCertificateValues
Description copied from class:SignatureCertificateSource
Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)- Specified by:
getCertificateValues
in classSignatureCertificateSource
- Returns:
- the list of all certificates present in the CertificateValues
-
getCompleteCertificateRefs
Description copied from class:SignatureCertificateSource
Retrieves the list ofCertificateRef
s included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)- Specified by:
getCompleteCertificateRefs
in classSignatureCertificateSource
- Returns:
- the list of certificate references
-
getAttributeCertificateRefs
Description copied from class:SignatureCertificateSource
Retrieves the list ofCertificateRef
s included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)- Specified by:
getAttributeCertificateRefs
in classSignatureCertificateSource
- Returns:
- the list of certificate references
-