CertificateAppCredentials Class

public class CertificateAppCredentials
extends AppCredentials

AppCredentials using a certificate.

Constructor Summary

Constructor Description
CertificateAppCredentials(CertificateAppCredentialsOptions withOptions)

Initializes a new instance of the AppCredentials class.

Method Summary

Modifier and Type Method and Description
protected Authenticator buildAuthenticator()

Returns a CertificateAuthenticator.

Methods inherited from AppCredentials

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CertificateAppCredentials

public CertificateAppCredentials(CertificateAppCredentialsOptions withOptions)

Initializes a new instance of the AppCredentials class.

Parameters:

withOptions - The options for CertificateAppCredentials.

Throws:

java.security.cert.CertificateException - During Authenticator creation.
java.security.UnrecoverableKeyException - During Authenticator creation.
java.security.NoSuchAlgorithmException - During Authenticator creation.
java.security.KeyStoreException - During Authenticator creation.
java.security.NoSuchProviderException - During Authenticator creation.
java.io.IOException - During Authenticator creation.

Method Details

buildAuthenticator

protected Authenticator buildAuthenticator()

Returns a CertificateAuthenticator.

Overrides:

CertificateAppCredentials.buildAuthenticator()

Returns:

An Authenticator object.

Applies to