Aracılığıyla paylaş


IX509KeyManager.GetClientAliases(String, IPrincipal[]) Method

Definition

Get the matching aliases for authenticating the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).

[Android.Runtime.Register("getClientAliases", "(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;", "GetGetClientAliases_Ljava_lang_String_arrayLjava_security_Principal_Handler:Javax.Net.Ssl.IX509KeyManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public string[]? GetClientAliases (string? keyType, Java.Security.IPrincipal[]? issuers);
[<Android.Runtime.Register("getClientAliases", "(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;", "GetGetClientAliases_Ljava_lang_String_arrayLjava_security_Principal_Handler:Javax.Net.Ssl.IX509KeyManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetClientAliases : string * Java.Security.IPrincipal[] -> string[]

Parameters

keyType
String

the key algorithm type name

issuers
IPrincipal[]

the list of acceptable CA issuer subject names, or null if it does not matter which issuers are used.

Returns

String[]

an array of the matching alias names, or null if there were no matches.

Attributes

Remarks

Get the matching aliases for authenticating the client side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).

Java documentation for javax.net.ssl.X509KeyManager.getClientAliases(java.lang.String, java.security.Principal[]).

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