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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(EncapsulatedRevocationTokenIdentifier<CRL> identifier, RevocationRef<CRL> reference) This method returns true if the reference is related to the encapsulated identifierbooleanmatch(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:RevocationTokenRefMatcherThis method returns true if the reference is related to the provided token- Specified by:
matchin 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:RevocationTokenRefMatcherThis method returns true if the reference is related to the encapsulated identifier- Specified by:
matchin interfaceRevocationTokenRefMatcher<CRL>- Parameters:
identifier- the revocation token identifierreference- the revocation reference- Returns:
- true if the reference refers to the identifier
-