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
ConstructorDescriptionTokenIssuerSelector
(Token token, Collection<CertificateToken> certificateTokens) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionFilterscertificateTokens
and returns the best issuer candidate fortoken
-
Constructor Details
-
TokenIssuerSelector
Default constructor- Parameters:
token
-Token
to get an issuer forcertificateTokens
- collection ofCertificateToken
s representingtoken
issuer candidates
-
-
Method Details
-
getIssuer
FilterscertificateTokens
and returns the best issuer candidate fortoken
- Returns:
CertificateToken
issuing thetoken
if found, null otherwise
-