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(eu.europa.esig.dss.model.x509.Token token, Collection<eu.europa.esig.dss.model.x509.CertificateToken> certificateTokens) Default constructor -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.model.x509.CertificateTokenFilterscertificateTokensand returns the best issuer candidate fortoken
-
Constructor Details
-
TokenIssuerSelector
public TokenIssuerSelector(eu.europa.esig.dss.model.x509.Token token, Collection<eu.europa.esig.dss.model.x509.CertificateToken> certificateTokens) Default constructor- Parameters:
token-Tokento get an issuer forcertificateTokens- collection ofCertificateTokens representingtokenissuer candidates
-
-
Method Details
-
getIssuer
public eu.europa.esig.dss.model.x509.CertificateToken getIssuer()FilterscertificateTokensand returns the best issuer candidate fortoken- Returns:
CertificateTokenissuing thetokenif found, null otherwise
-