Class CRLTokenRefMatcher
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.crl.CRLTokenRefMatcher
- All Implemented Interfaces:
RevocationTokenRefMatcher<CRL>
public class CRLTokenRefMatcher extends Object implements RevocationTokenRefMatcher<CRL>
-
Constructor Summary
Constructors Constructor Description CRLTokenRefMatcher()
-
Method Summary
Modifier and Type Method Description boolean
match(EncapsulatedRevocationTokenIdentifier 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()
-
-
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 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
-