java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.crl.CRLTokenRefMatcher
- All Implemented Interfaces:
RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>
public class CRLTokenRefMatcher
extends Object
implements RevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>
This class is used to match a CRL with a reference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> identifier, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference) This method returns true if the reference is related to the encapsulated identifierbooleanmatch(RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.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
public boolean match(RevocationToken<eu.europa.esig.dss.model.x509.revocation.crl.CRL> token, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference) Description copied from interface:RevocationTokenRefMatcherThis method returns true if the reference is related to the provided token- Specified by:
matchin interfaceRevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>- Parameters:
token- the revocation tokenreference- the revocation reference- Returns:
- true if the reference refers to the token
-
match
public boolean match(eu.europa.esig.dss.model.identifier.EncapsulatedRevocationTokenIdentifier<eu.europa.esig.dss.model.x509.revocation.crl.CRL> identifier, RevocationRef<eu.europa.esig.dss.model.x509.revocation.crl.CRL> reference) Description copied from interface:RevocationTokenRefMatcherThis method returns true if the reference is related to the encapsulated identifier- Specified by:
matchin interfaceRevocationTokenRefMatcher<eu.europa.esig.dss.model.x509.revocation.crl.CRL>- Parameters:
identifier- the revocation token identifierreference- the revocation reference- Returns:
- true if the reference refers to the identifier
-