次の方法で共有


X509Certificate.SubjectX500Principal Property

Definition

Returns the subject (subject distinguished name) value from the certificate as an X500Principal.

public virtual Javax.Security.Auth.X500.X500Principal? SubjectX500Principal { [Android.Runtime.Register("getSubjectX500Principal", "()Ljavax/security/auth/x500/X500Principal;", "GetGetSubjectX500PrincipalHandler")] get; }
[<get: Android.Runtime.Register("getSubjectX500Principal", "()Ljavax/security/auth/x500/X500Principal;", "GetGetSubjectX500PrincipalHandler")>]
member this.SubjectX500Principal : Javax.Security.Auth.X500.X500Principal

Property Value

an X500Principal representing the subject distinguished name

Attributes

Remarks

Returns the subject (subject distinguished name) value from the certificate as an X500Principal. If the subject value is empty, then the getName() method of the returned X500Principal object returns an empty string ("").

It is recommended that subclasses override this method.

Added in 1.4.

Java documentation for java.security.cert.X509Certificate.getSubjectX500Principal().

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