Skip to content

ws1-network/com.airwatch.gateway.clients/AWCertAuthUtil/getCertAuthKeyManagers

getCertAuthKeyManagers

open fun getCertAuthKeyManagers(): Array<KeyManager>

If Client Cert auth is enabled, this method returns a KeyManager array with a KeyManager containing client certificates fetched from the AW console for use in various HTTP clients. The returned KeyManager object is typically used to construct an SSLContext instance.

Return

a KeyManager array with a KeyManager containing client certificates. If the client certificate retrieval fails or in case of any other errors, this method returns null. If cert auth is not enabled, this method returns null.