IdentityCredentialStore.GetCredentialByName(String, Int32) 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.
Retrieve a named credential.
[Android.Runtime.Register("getCredentialByName", "(Ljava/lang/String;I)Landroid/security/identity/IdentityCredential;", "GetGetCredentialByName_Ljava_lang_String_IHandler", ApiSince=30)]
public abstract Android.Security.Identity.IdentityCredential? GetCredentialByName (string credentialName, int cipherSuite);
[<Android.Runtime.Register("getCredentialByName", "(Ljava/lang/String;I)Landroid/security/identity/IdentityCredential;", "GetGetCredentialByName_Ljava_lang_String_IHandler", ApiSince=30)>]
abstract member GetCredentialByName : string * int -> Android.Security.Identity.IdentityCredential
Parameters
- credentialName
- String
the name of the credential to retrieve.
- cipherSuite
- Int32
the cipher suite to use for communicating with the verifier.
Returns
The named credential, or null if not found.
- Attributes
Remarks
Retrieve a named credential.
The cipher suite used to communicate with the remote verifier must also be specified. Currently only a single cipher-suite is supported. Support for other cipher suites may be added in a future version of this API.
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.