KeyPairGeneratorSpec.Builder.SetSubject(X500Principal) 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.
Caution
deprecated
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;", "")]
[System.Obsolete("deprecated")]
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;", "")>]
[<System.Obsolete("deprecated")>]
member this.SetSubject : Javax.Security.Auth.X500.X500Principal -> Android.Security.KeyPairGeneratorSpec.Builder
Parameters
- subject
- X500Principal
The X.500 subject distinguished name for the generated self-signed certificate. Must not be null.
Returns
This builder with the certificate subject set.
- 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.