语言

X509Certificate.SubjectDN 属性

定义

以 subject 实现特定 Principal 对象的形式返回(使用者可分辨名称)。

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

属性值

名称为使用者名称的主体。

特性

注解

从证书中获取使用者(使用者可分辨名称)值。 如果主题值为空,则返回的 Principal 对象的 getName() 方法返回空字符串(“)。

subject Name

有关 Name 和其他相关定义,请参阅 getIssuerDN。

Java参考java.security.cert.X509Certificate.getSubjectDN。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于