Class TokenIssuerSelector

java.lang.Object
eu.europa.esig.dss.spi.x509.TokenIssuerSelector

public class TokenIssuerSelector extends Object
This class is used to select an issuer of the provided Token
  • Constructor Details

    • TokenIssuerSelector

      public TokenIssuerSelector(Token token, Collection<CertificateToken> certificateTokens)
      Default constructor
      Parameters:
      token - Token to get an issuer for
      certificateTokens - collection of CertificateTokens representing token issuer candidates
  • Method Details

    • getIssuer

      public CertificateToken getIssuer()
      Filters certificateTokens and returns the best issuer candidate for token
      Returns:
      CertificateToken issuing the token if found, null otherwise