Package org.codice.ddf.security
Interface OcspService
public interface OcspService
This code is experimental. While this interface is functional and tested, it may change or be
removed in a future version of the library.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpassesOcspCheck(X509Certificate[] certs) Checks the whether the given are revoked or not against the OCSP server.
-
Method Details
-
passesOcspCheck
Checks the whether the given are revoked or not against the OCSP server.- Parameters:
certs- - an array of certificates to verify- Returns:
- true if the certificates are not revoked or if they could not be properly checked against the OCSP server. Returns false if any of them are revoked.
-