Module jpms_dss_spi

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 Summary

    Constructors
    Constructor
    Description
    TokenIssuerSelector(eu.europa.esig.dss.model.x509.Token token, Collection<eu.europa.esig.dss.model.x509.CertificateToken> certificateTokens)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.model.x509.CertificateToken
    Filters certificateTokens and returns the best issuer candidate for token

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 - Token to get an issuer for
      certificateTokens - collection of CertificateTokens representing token issuer candidates
  • Method Details

    • getIssuer

      public eu.europa.esig.dss.model.x509.CertificateToken getIssuer()
      Filters certificateTokens and returns the best issuer candidate for token
      Returns:
      CertificateToken issuing the token if found, null otherwise