Interface RevocationTokenRefMatcher<R extends Revocation>

Type Parameters:
R - Revocation
All Known Implementing Classes:
CRLTokenRefMatcher, OCSPTokenRefMatcher

public interface RevocationTokenRefMatcher<R extends Revocation>
This class is used to validate a revocation reference against a revocation token
  • Method Details

    • match

      boolean match(RevocationToken<R> token, RevocationRef<R> reference)
      This method returns true if the reference is related to the provided token
      Parameters:
      token - the revocation token
      reference - the revocation reference
      Returns:
      true if the reference refers to the token
    • match

      boolean match(EncapsulatedRevocationTokenIdentifier<R> identifier, RevocationRef<R> reference)
      This method returns true if the reference is related to the encapsulated identifier
      Parameters:
      identifier - the revocation token identifier
      reference - the revocation reference
      Returns:
      true if the reference refers to the identifier