X509CertSelector.Subject Property
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.
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.
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.