Package eu.europa.esig.dss.spi.x509
Class TokenIssuerSelector
java.lang.Object
eu.europa.esig.dss.spi.x509.TokenIssuerSelector
This class is used to select an issuer of the provided
Token-
Constructor Summary
ConstructorsConstructorDescriptionTokenIssuerSelector(Token token, Collection<CertificateToken> certificateTokens) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionFilterscertificateTokensand returns the best issuer candidate fortoken
-
Constructor Details
-
TokenIssuerSelector
Default constructor- Parameters:
token-Tokento get an issuer forcertificateTokens- collection ofCertificateTokens representingtokenissuer candidates
-
-
Method Details
-
getIssuer
FilterscertificateTokensand returns the best issuer candidate fortoken- Returns:
CertificateTokenissuing thetokenif found, null otherwise
-