X509ExtendedKeyManager.GetPrivateKey(String) 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.
Returns the key associated with the given alias.
[Android.Runtime.Register("getPrivateKey", "(Ljava/lang/String;)Ljava/security/PrivateKey;", "GetGetPrivateKey_Ljava_lang_String_Handler")]
public abstract Java.Security.IPrivateKey? GetPrivateKey (string? alias);
[<Android.Runtime.Register("getPrivateKey", "(Ljava/lang/String;)Ljava/security/PrivateKey;", "GetGetPrivateKey_Ljava_lang_String_Handler")>]
abstract member GetPrivateKey : string -> Java.Security.IPrivateKey
Parameters
- alias
- String
the alias name
Returns
the requested key, or null if the alias can't be found.
Implements
- Attributes
Remarks
Returns the key associated with the given alias.
Java documentation for javax.net.ssl.X509KeyManager.getPrivateKey(java.lang.String)
.
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.