SubjectAlternativeNameBuilder Class
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.
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
- Inheritance
-
SubjectAlternativeNameBuilder
Constructors
SubjectAlternativeNameBuilder() |
Initializes a new instance of the SubjectAlternativeNameBuilder class. |
Methods
AddDnsName(String) |
Adds a DNS Name to the subject alternative name extension. |
AddEmailAddress(String) |
Adds an email address to the subject alternative name extension. |
AddIpAddress(IPAddress) |
Adds an IP address to the subject alternative name extension. |
AddUri(Uri) |
Adds a Uniform Resource Identifier (URI) to the subject alternative name extension. |
AddUserPrincipalName(String) |
Adds a User Principal Name (UPN) to the subject alternative name extension. |
Build(Boolean) |
Returns an X509Extension object that represents the encoded subject alternative name extension. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |