Class CRLTokenRefMatcher
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.crl.CRLTokenRefMatcher
- All Implemented Interfaces:
RevocationTokenRefMatcher<CRL>
This class is used to match a CRL with a reference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(EncapsulatedRevocationTokenIdentifier<CRL> identifier, RevocationRef<CRL> reference) This method returns true if the reference is related to the encapsulated identifierboolean
match
(RevocationToken<CRL> token, RevocationRef<CRL> reference) This method returns true if the reference is related to the provided token
-
Constructor Details
-
CRLTokenRefMatcher
public CRLTokenRefMatcher()Default constructor
-
-
Method Details
-
match
Description copied from interface:RevocationTokenRefMatcher
This method returns true if the reference is related to the provided token- Specified by:
match
in interfaceRevocationTokenRefMatcher<CRL>
- Parameters:
token
- the revocation tokenreference
- the revocation reference- Returns:
- true if the reference refers to the token
-
match
public boolean match(EncapsulatedRevocationTokenIdentifier<CRL> identifier, RevocationRef<CRL> reference) Description copied from interface:RevocationTokenRefMatcher
This method returns true if the reference is related to the encapsulated identifier- Specified by:
match
in interfaceRevocationTokenRefMatcher<CRL>
- Parameters:
identifier
- the revocation token identifierreference
- the revocation reference- Returns:
- true if the reference refers to the identifier
-