Compartilhar via


KeyPairGeneratorSpec.Builder.SetSubject(X500Principal) Method

Definition

Sets the subject used for the self-signed certificate of the generated key pair.

[Android.Runtime.Register("setSubject", "(Ljavax/security/auth/x500/X500Principal;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")]
public Android.Security.KeyPairGeneratorSpec.Builder SetSubject (Javax.Security.Auth.X500.X500Principal subject);
[<Android.Runtime.Register("setSubject", "(Ljavax/security/auth/x500/X500Principal;)Landroid/security/KeyPairGeneratorSpec$Builder;", "")>]
member this.SetSubject : Javax.Security.Auth.X500.X500Principal -> Android.Security.KeyPairGeneratorSpec.Builder

Parameters

subject
X500Principal

Returns

Attributes

Remarks

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