Class OCSPTokenRefMatcher
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.ocsp.OCSPTokenRefMatcher
- All Implemented Interfaces:
RevocationTokenRefMatcher<OCSP>
The class is used to check OCSP token reference
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(EncapsulatedRevocationTokenIdentifier<OCSP> identifier, RevocationRef<OCSP> reference) This method returns true if the reference is related to the encapsulated identifierboolean
match
(RevocationToken<OCSP> token, RevocationRef<OCSP> reference) This method returns true if the reference is related to the provided token
-
Constructor Details
-
OCSPTokenRefMatcher
public OCSPTokenRefMatcher()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<OCSP>
- Parameters:
token
- the revocation tokenreference
- the revocation reference- Returns:
- true if the reference refers to the token
-
match
public boolean match(EncapsulatedRevocationTokenIdentifier<OCSP> identifier, RevocationRef<OCSP> reference) Description copied from interface:RevocationTokenRefMatcher
This method returns true if the reference is related to the encapsulated identifier- Specified by:
match
in interfaceRevocationTokenRefMatcher<OCSP>
- Parameters:
identifier
- the revocation token identifierreference
- the revocation reference- Returns:
- true if the reference refers to the identifier
-