Create Authenticated Session using SSL with Client Certificates
If you are using SSL with client certificate authentication, you’ll need to pass a client certificate and authenticate.
Create an
NAEClientCertificate
object, which includes the alias and password for the client certificate you want to send to the Key Manager. The password for client certificate is obfuscated.Create a session object. Pass the
NAEClientCertificate
object, username and password as parameters.NAEClientCertificate clientCert = new NAEClientCertificate ("Cert2","Cert2Password".toCharArray()); NAESession session = NAESession.getSession("user1","password1".toCharArray(), clientCert);