Skip to content

PKI OCSP Java API

Endi S. Dewata edited this page Dec 17, 2020 · 1 revision

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.

Clone this wiki locally