Click or drag to resize

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.
Inheritance Hierarchy

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public sealed class X509SubjectAlternativeNamesExtension : X509Extension

The X509SubjectAlternativeNamesExtension type exposes the following members.

Constructors
  NameDescription
Public methodX509SubjectAlternativeNamesExtension(AsnEncodedData, Boolean)
Initializes a new instance of the X509SubjectAlternativeNamesExtension class using an AsnEncodedData object and a value that identifies whether the extension is critical.
Public methodX509SubjectAlternativeNamesExtension(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.
Top
Properties
  NameDescription
Public propertyAlternativeNames
Gets an array of alternative names.
Public propertyCritical (Inherited from X509Extension.)
Public propertyOid (Inherited from AsnEncodedData.)
Public propertyRawData (Inherited from AsnEncodedData.)
Top
Methods
  NameDescription
Public methodCopyFrom (Inherited from X509Extension.)
Public methodEquals (Inherited from Object.)
Public methodFormat (Inherited from AsnEncodedData.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEncode
Encodes current extension to ASN.1-encoded byte array.
(Defined by X509ExtensionExtensions.)
Top
See Also