다음을 통해 공유


X500PrivateCredential Constructors

Definition

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.

Java documentation for javax.security.auth.x500.X500PrivateCredential.X500PrivateCredential(java.security.cert.X509Certificate, java.security.PrivateKey).

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.

Java documentation for javax.security.auth.x500.X500PrivateCredential.X500PrivateCredential(java.security.cert.X509Certificate, java.security.PrivateKey, 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.

Applies to