Module jpms_dss_spi

Class CRLTokenRefMatcher

java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.crl.CRLTokenRefMatcher
All Implemented Interfaces:
RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>

public class CRLTokenRefMatcher extends Object implements RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>
This class is used to match a CRL with a reference
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> identifier, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference)
    This method returns true if the reference is related to the encapsulated identifier
    boolean
    match(RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference)
    This method returns true if the reference is related to the provided token

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CRLTokenRefMatcher

      public CRLTokenRefMatcher()
      Default constructor
  • Method Details

    • match

      public boolean match(RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference)
      Description copied from interface: RevocationTokenRefMatcher
      This method returns true if the reference is related to the provided token
      Specified by:
      match in interface RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>
      Parameters:
      token - the revocation token
      reference - the revocation reference
      Returns:
      true if the reference refers to the token
    • match

      public boolean match(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> identifier, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference)
      Description copied from interface: RevocationTokenRefMatcher
      This method returns true if the reference is related to the encapsulated identifier
      Specified by:
      match in interface RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>
      Parameters:
      identifier - the revocation token identifier
      reference - the revocation reference
      Returns:
      true if the reference refers to the identifier