PKI OCSP Java API - dogtagpki/pki GitHub Wiki

PKI OCSP Java API

To create an OCSP session:

OCSPClient ocspClient = new OCSPClient(client);
AccountInfo accountInfo = ocspClient.login();

The AccountInfo contains information about the subsystem user (e.g. user ID, full name, email, roles).

To remove the session:

ocspClient.logout();

See also OCSPClient.java.

⚠️ **GitHub.com Fallback** ⚠️