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 Summary
Modifier and TypeMethodDescriptionboolean
match
(EncapsulatedRevocationTokenIdentifier<R> identifier, RevocationRef<R> reference) This method returns true if the reference is related to the encapsulated identifierboolean
match
(RevocationToken<R> token, RevocationRef<R> reference) This method returns true if the reference is related to the provided token
-
Method Details
-
match
This method returns true if the reference is related to the provided token- Parameters:
token
- the revocation tokenreference
- the revocation reference- Returns:
- true if the reference refers to the token
-
match
This method returns true if the reference is related to the encapsulated identifier- Parameters:
identifier
- the revocation token identifierreference
- the revocation reference- Returns:
- true if the reference refers to the identifier
-