X509Certificate.SubjectDN 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 (subject distinguished name) as an
implementation specific Principal object.
public abstract Java.Security.IPrincipal? SubjectDN { [Android.Runtime.Register("getSubjectDN", "()Ljava/security/Principal;", "GetGetSubjectDNHandler")] get; }
[<get: Android.Runtime.Register("getSubjectDN", "()Ljava/security/Principal;", "GetGetSubjectDNHandler")>]
member this.SubjectDN : Java.Security.IPrincipal
Property Value
a Principal whose name is the subject name.
- Attributes
Remarks
Gets the subject (subject distinguished name) value from the certificate. If the subject value is empty, then the getName() method of the returned Principal object returns an empty string ("").
subject Name
See getIssuerDN for Name and other relevant definitions.
Java reference for java.security.cert.X509Certificate.getSubjectDN.
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.