SubjectAlternativeNameBuilder SubjectAlternativeNameBuilder SubjectAlternativeNameBuilder SubjectAlternativeNameBuilder Class


This class facilitates building a subject alternative name extension for an X.509 certificate.

public ref class SubjectAlternativeNameBuilder sealed
public sealed class SubjectAlternativeNameBuilder
type SubjectAlternativeNameBuilder = class
Public NotInheritable Class SubjectAlternativeNameBuilder


SubjectAlternativeNameBuilder() SubjectAlternativeNameBuilder() SubjectAlternativeNameBuilder() SubjectAlternativeNameBuilder()

Initializes a new instance of the SubjectAlternativeNameBuilder class.


AddDnsName(String) AddDnsName(String) AddDnsName(String) AddDnsName(String)

Adds a DNS Name to the subject alternative name extension.

AddEmailAddress(String) AddEmailAddress(String) AddEmailAddress(String) AddEmailAddress(String)

Adds an email address to the subject alternative name extension.

AddIpAddress(IPAddress) AddIpAddress(IPAddress) AddIpAddress(IPAddress) AddIpAddress(IPAddress)

Adds an IP address to the subject alternative name extension.

AddUri(Uri) AddUri(Uri) AddUri(Uri) AddUri(Uri)

Adds a Uniform Resource Identifier (URI) to the subject alternative name extension.

AddUserPrincipalName(String) AddUserPrincipalName(String) AddUserPrincipalName(String) AddUserPrincipalName(String)

Adds a User Principal Name (UPN) to the subject alternative name extension.

Build(Boolean) Build(Boolean) Build(Boolean) Build(Boolean)

Returns an X509Extension object that represents the encoded subject alternative name extension.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to