Class BaselineBCertificateSelector

java.lang.Object
eu.europa.esig.dss.CertificateReorderer
eu.europa.esig.dss.signature.BaselineBCertificateSelector

public class BaselineBCertificateSelector extends CertificateReorderer
This class is used to retrieve the used certificates for a signature from the user parameters. It avoids duplicate entries, orders certificates from the signing certificate to the Root CA and filters trust anchors depending of the policy
  • Constructor Details

  • Method Details

    • getCertificates

      public List<eu.europa.esig.dss.model.x509.CertificateToken> getCertificates()
      Returns a certificate chain for a B-level signature creation
      Returns:
      an ordered list of CertificateTokens