다음을 통해 공유


WifiEnterpriseConfig.SetClientKeyEntryWithCertificateChain Method

Definition

Specify a private key and client certificate chain for client authorization.

[Android.Runtime.Register("setClientKeyEntryWithCertificateChain", "(Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)V", "GetSetClientKeyEntryWithCertificateChain_Ljava_security_PrivateKey_arrayLjava_security_cert_X509Certificate_Handler", ApiSince=26)]
public virtual void SetClientKeyEntryWithCertificateChain (Java.Security.IPrivateKey? privateKey, Java.Security.Cert.X509Certificate[]? clientCertificateChain);
[<Android.Runtime.Register("setClientKeyEntryWithCertificateChain", "(Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)V", "GetSetClientKeyEntryWithCertificateChain_Ljava_security_PrivateKey_arrayLjava_security_cert_X509Certificate_Handler", ApiSince=26)>]
abstract member SetClientKeyEntryWithCertificateChain : Java.Security.IPrivateKey * Java.Security.Cert.X509Certificate[] -> unit
override this.SetClientKeyEntryWithCertificateChain : Java.Security.IPrivateKey * Java.Security.Cert.X509Certificate[] -> unit

Parameters

privateKey
IPrivateKey

a PrivateKey instance for the end certificate.

clientCertificateChain
X509Certificate[]

an array of X509Certificate instances which starts with end certificate and continues with additional CA certificates necessary to link the end certificate with some root certificate known by the authenticator.

Attributes

Remarks

Specify a private key and client certificate chain for client authorization.

A default name is automatically assigned to the key entry and used with this configuration. The framework takes care of installing the key entry when the config is saved and removing the key entry when the config is removed.

Java documentation for android.net.wifi.WifiEnterpriseConfig.setClientKeyEntryWithCertificateChain(java.security.PrivateKey, java.security.cert.X509Certificate[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to