X509ExtendedKeyManager.GetServerAliases(String, IPrincipal[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the matching aliases for authenticating the server 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("getServerAliases", "(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;", "GetGetServerAliases_Ljava_lang_String_arrayLjava_security_Principal_Handler")]
public abstract string[]? GetServerAliases (string? keyType, Java.Security.IPrincipal[]? issuers);
[<Android.Runtime.Register("getServerAliases", "(Ljava/lang/String;[Ljava/security/Principal;)[Ljava/lang/String;", "GetGetServerAliases_Ljava_lang_String_arrayLjava_security_Principal_Handler")>]
abstract member GetServerAliases : 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
an array of the matching alias names, or null if there were no matches.
Implements
- Attributes
Remarks
Get the matching aliases for authenticating the server side of a secure socket given the public key type and the list of certificate issuer authorities recognized by the peer (if any).
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.