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