X500DistinguishedNameBuilder.AddEmailAddress(String) 方法

定义

添加电子邮件地址属性。

public:
 void AddEmailAddress(System::String ^ emailAddress);
public void AddEmailAddress (string emailAddress);
member this.AddEmailAddress : string -> unit
Public Sub AddEmailAddress (emailAddress As String)

参数

emailAddress
String

要添加的电子邮件地址。

例外

emailAddressnull

emailAddress 为空或超过 255 个字符。

注解

这会将 OID 1.2.840.113549.1.9.1 作为 IA5String 的属性进行编码。

适用于