Share via


WifiEnterpriseConfig.SetClientKeyEntry(IPrivateKey, X509Certificate) Method

Definition

Specify a private key and client certificate for client authorization.

[Android.Runtime.Register("setClientKeyEntry", "(Ljava/security/PrivateKey;Ljava/security/cert/X509Certificate;)V", "GetSetClientKeyEntry_Ljava_security_PrivateKey_Ljava_security_cert_X509Certificate_Handler")]
public virtual void SetClientKeyEntry (Java.Security.IPrivateKey? privateKey, Java.Security.Cert.X509Certificate? clientCertificate);
[<Android.Runtime.Register("setClientKeyEntry", "(Ljava/security/PrivateKey;Ljava/security/cert/X509Certificate;)V", "GetSetClientKeyEntry_Ljava_security_PrivateKey_Ljava_security_cert_X509Certificate_Handler")>]
abstract member SetClientKeyEntry : Java.Security.IPrivateKey * Java.Security.Cert.X509Certificate -> unit
override this.SetClientKeyEntry : Java.Security.IPrivateKey * Java.Security.Cert.X509Certificate -> unit

Parameters

privateKey
IPrivateKey
clientCertificate
X509Certificate
Attributes

Exceptions

for an invalid key or certificate.

Remarks

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