Class SignatureCertificateSource

    • Constructor Detail

      • SignatureCertificateSource

        protected SignatureCertificateSource​(CertificatePool certPool)
        The default constructor with mandatory certificates pool.
        Parameters:
        certPool - the certificate pool
    • Method Detail

      • getKeyInfoCertificates

        public abstract List<CertificateToken> getKeyInfoCertificates()
        Retrieves the list of all certificates present in the KeyInfos
        Returns:
        list of all certificates present in B level
      • getCertificateValues

        public abstract List<CertificateToken> getCertificateValues()
        Retrieves the list of all certificates from CertificateValues (XAdES/CAdES)
        Returns:
        the list of all certificates present in the CertificateValues
      • getAttrAuthoritiesCertValues

        public abstract List<CertificateToken> getAttrAuthoritiesCertValues()
        Retrieves the list of all certificates from the AttrAuthoritiesCertValues (XAdES)
        Returns:
        the list of all certificates present in the AttrAuthoritiesCertValues
      • getTimeStampValidationDataCertValues

        public abstract List<CertificateToken> getTimeStampValidationDataCertValues()
        Retrieves the list of all certificates from the TimeStampValidationData (XAdES)
        Returns:
        the list of all certificates present in the TimeStampValidationData
      • getDSSDictionaryCertValues

        public List<CertificateToken> getDSSDictionaryCertValues()
        Retrieves the list of all certificates from the DSS dictionary (PAdES)
        Returns:
        the list of all certificates present in the DSS dictionary
      • getVRIDictionaryCertValues

        public List<CertificateToken> getVRIDictionaryCertValues()
        Retrieves the list of all certificates from the VRI dictionary (PAdES)
        Returns:
        the list of all certificates present in the VRI dictionary
      • getSigningCertificateValues

        public abstract List<CertificateRef> getSigningCertificateValues()
        Retrieves the list of CertificateRefs for the signing certificate (V1/V2)
        Returns:
        the list of references to the signing certificate
      • getCompleteCertificateRefs

        public abstract List<CertificateRef> getCompleteCertificateRefs()
        Retrieves the list of CertificateRefs included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)
        Returns:
        the list of certificate references
      • getCompleteCertificates

        public List<CertificateToken> getCompleteCertificates()
        Retrieves the list of CertificateTokens according references to included in the attribute complete-certificate-references (CAdES) or the CompleteCertificateRefs/CompleteCertificateRefsV2 (XAdES)
        Returns:
        list of CertificateTokens
      • getAttributeCertificateRefs

        public abstract List<CertificateRef> getAttributeCertificateRefs()
        Retrieves the list of CertificateRefs included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)
        Returns:
        the list of certificate references
      • getAttributeCertificates

        public List<CertificateToken> getAttributeCertificates()
        Retrieves the list of CertificateTokens according to references included in the attribute attribute-certificate-references (CAdES) or the AttributeCertificateRefs/AttributeCertificateRefsV2 (XAdES)
        Returns:
        list of CertificateTokens
      • getIssuerInfo

        protected IssuerSerialInfo getIssuerInfo​(org.bouncycastle.asn1.x509.IssuerSerial issuerAndSerial)