GrantedKeyInfo(String, X509Certificate) Constructor
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.
Creates information that identifies a granted key pair by its alias and optional certificate.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V", "", ApiSince=37)]
public GrantedKeyInfo(string alias, Java.Security.Cert.X509Certificate? certificate);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V", "", ApiSince=37)>]
new Android.Security.GrantedKeyInfo : string * Java.Security.Cert.X509Certificate -> Android.Security.GrantedKeyInfo
Parameters
- alias
- String
The KeyChain alias that identifies the granted key pair. Must not be null.
- certificate
- X509Certificate
The key pair's leaf certificate, or null if the alias has no certificate.
- Attributes
Remarks
Alias identifies the key pair. Certificate describes its leaf certificate and may be null; a certificate is not required for the alias to be represented.
See the constructor's argument contract and the certificate contract.