Package eu.europa.esig.dss.signature
Class BaselineBCertificateSelector
java.lang.Object
eu.europa.esig.dss.CertificateReorderer
eu.europa.esig.dss.signature.BaselineBCertificateSelector
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 Summary
ConstructorDescriptionBaselineBCertificateSelector
(CertificateVerifier certificateVerifier, AbstractSignatureParameters<?> parameters) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns a certificate chain for a B-level signature creationMethods inherited from class eu.europa.esig.dss.CertificateReorderer
getOrderedCertificateChains, getOrderedCertificates
-
Constructor Details
-
BaselineBCertificateSelector
public BaselineBCertificateSelector(CertificateVerifier certificateVerifier, AbstractSignatureParameters<?> parameters) The default constructor- Parameters:
certificateVerifier
-CertificateVerifier
parameters
-AbstractSignatureParameters
-
-
Method Details
-
getCertificates
Returns a certificate chain for a B-level signature creation- Returns:
- an ordered list of
CertificateToken
s
-