X509SubjectAlternativeNamesExtension Class

X509SubjectAlternativeNamesExtension represents a X.509 alternative names extension. The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.

Definition

Namespace: SysadminsLV.PKI.Cryptography.X509Certificates
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public sealed class X509SubjectAlternativeNamesExtension : X509Extension
Inheritance
X509Extension    X509SubjectAlternativeNamesExtension

Constructors

X509SubjectAlternativeNamesExtension(AsnEncodedData, Boolean) Initializes a new instance of the X509SubjectAlternativeNamesExtension class using an AsnEncodedData object and a value that identifies whether the extension is critical.
X509SubjectAlternativeNamesExtension(X509AlternativeNameCollection, Boolean) Initializes a new instance of the X509SubjectAlternativeNamesExtension class using a collection of alternative names and a value that identifies whether the extension is critical.

Properties

AlternativeNames Gets an array of alternative names.

Extension Methods

ConvertExtension Converts default instance of X509Extension class to a specific extension implementation object.
(Defined by X509ExtensionExtensions)
Encode Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions)

See Also