X500PrivateCredential Constructors
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.
Overloads
X500PrivateCredential(X509Certificate, IPrivateKey) |
Creates an X500PrivateCredential that associates an X. |
X500PrivateCredential(X509Certificate, IPrivateKey, String) |
Creates an X500PrivateCredential that associates an X. |
X500PrivateCredential(X509Certificate, IPrivateKey)
Creates an X500PrivateCredential that associates an X.
[Android.Runtime.Register(".ctor", "(Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;)V", "", ApiSince=35)]
public X500PrivateCredential (Java.Security.Cert.X509Certificate? cert, Java.Security.IPrivateKey? key);
[<Android.Runtime.Register(".ctor", "(Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;)V", "", ApiSince=35)>]
new Javax.Security.Auth.X500.X500PrivateCredential : Java.Security.Cert.X509Certificate * Java.Security.IPrivateKey -> Javax.Security.Auth.X500.X500PrivateCredential
Parameters
- cert
- X509Certificate
X509Certificate
- key
- IPrivateKey
PrivateKey for the certificate
- Attributes
Remarks
Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias.
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
X500PrivateCredential(X509Certificate, IPrivateKey, String)
Creates an X500PrivateCredential that associates an X.
[Android.Runtime.Register(".ctor", "(Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V", "", ApiSince=35)]
public X500PrivateCredential (Java.Security.Cert.X509Certificate? cert, Java.Security.IPrivateKey? key, string? alias);
[<Android.Runtime.Register(".ctor", "(Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V", "", ApiSince=35)>]
new Javax.Security.Auth.X500.X500PrivateCredential : Java.Security.Cert.X509Certificate * Java.Security.IPrivateKey * string -> Javax.Security.Auth.X500.X500PrivateCredential
Parameters
- cert
- X509Certificate
X509Certificate
- key
- IPrivateKey
PrivateKey for the certificate
- alias
- String
KeyStore alias
- Attributes
Remarks
Creates an X500PrivateCredential that associates an X.509 certificate, a private key and the KeyStore alias.
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.