PKI TKS Java API - dogtagpki/pki GitHub Wiki

PKI TKS Java API

To create a TKS session:

TKSClient tksClient = new TKSClient(client);
AccountInfo accountInfo = tksClient.login();

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

To remove the session:

tksClient.logout();

See also TKSClient.java.

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