Create Authenticated KMIP Session with User Credentials and Client Certificate
To create an authenticated session using Key Manager's username/password and client certificate:
Create an
NAEClientCertificate
object.Create a
KMIPSession
object using thegetSession
method and pass valid Key Manager username, password andNAEClientCertificate
object as parameters.
Code sample
NAEClientCertificate clientCert = new NAEClientCertificate (“Cert2”,“Cert2Password”.toCharArray());
KMIPSession getSession (NAEClientCertificate clientCert, String userName, char[] password);