Compartilhar via


X509CertSelector.Subject Property

Definition

Returns the subject criterion as an X500Principal. -or- Sets the subject criterion.

public virtual Javax.Security.Auth.X500.X500Principal? Subject { [Android.Runtime.Register("getSubject", "()Ljavax/security/auth/x500/X500Principal;", "GetGetSubjectHandler")] get; [Android.Runtime.Register("setSubject", "(Ljavax/security/auth/x500/X500Principal;)V", "GetSetSubject_Ljavax_security_auth_x500_X500Principal_Handler")] set; }
[<get: Android.Runtime.Register("getSubject", "()Ljavax/security/auth/x500/X500Principal;", "GetGetSubjectHandler")>]
[<set: Android.Runtime.Register("setSubject", "(Ljavax/security/auth/x500/X500Principal;)V", "GetSetSubject_Ljavax_security_auth_x500_X500Principal_Handler")>]
member this.Subject : Javax.Security.Auth.X500.X500Principal with get, set

Property Value

the required subject distinguished name as X500Principal (or null)

Attributes

Remarks

Property getter documentation:

Returns the subject criterion as an X500Principal. This distinguished name must match the subject distinguished name in the X509Certificate. If null, the subject criterion is disabled and any subject distinguished name will do.

Added in 1.5.

Java documentation for java.security.cert.X509CertSelector.getSubject().

Property setter documentation:

Sets the subject criterion. The specified distinguished name must match the subject distinguished name in the X509Certificate. If null, any subject distinguished name will do.

Added in 1.5.

Java documentation for java.security.cert.X509CertSelector.setSubject(javax.security.auth.x500.X500Principal).

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