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.AttributeTableunsignedAttributes
-
Constructor Summary
Constructors Modifier Constructor Description protectedCMSCertificateSource(org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes, CertificatePool certPool)
-
Method Summary
Modifier and Type Method Description List<CertificateRef>getAttributeCertificateRefs()Retrieves the list ofCertificateRefs 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 ofCertificateRefs 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
-
-
-
-
Constructor Detail
-
CMSCertificateSource
protected CMSCertificateSource(org.bouncycastle.asn1.cms.AttributeTable unsignedAttributes, CertificatePool certPool)
-
-
Method Detail
-
getCertificateValues
public List<CertificateToken> getCertificateValues()
Description copied from class:SignatureCertificateSourceRetrieves the list of all certificates from CertificateValues (XAdES/CAdES)- Specified by:
getCertificateValuesin classSignatureCertificateSource- Returns:
- the list of all certificates present in the CertificateValues
-
getCompleteCertificateRefs
public List<CertificateRef> getCompleteCertificateRefs()
Description copied from class:SignatureCertificateSourceRetrieves the list ofCertificateRefs included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)- Specified by:
getCompleteCertificateRefsin classSignatureCertificateSource- Returns:
- the list of certificate references
-
getAttributeCertificateRefs
public List<CertificateRef> getAttributeCertificateRefs()
Description copied from class:SignatureCertificateSourceRetrieves the list ofCertificateRefs included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)- Specified by:
getAttributeCertificateRefsin classSignatureCertificateSource- Returns:
- the list of certificate references
-
-