ערוך

שתף באמצעות


X509SubjectAlternativeNameExtension Class

Definition

Represents the Subject Alternative Name X.509 Extension (2.5.29.17).

public ref class X509SubjectAlternativeNameExtension sealed : System::Security::Cryptography::X509Certificates::X509Extension
public sealed class X509SubjectAlternativeNameExtension : System.Security.Cryptography.X509Certificates.X509Extension
type X509SubjectAlternativeNameExtension = class
    inherit X509Extension
Public NotInheritable Class X509SubjectAlternativeNameExtension
Inherits X509Extension
Inheritance
X509SubjectAlternativeNameExtension

Constructors

X509SubjectAlternativeNameExtension()

Initializes a new instance of the X509SubjectAlternativeNameExtension class.

X509SubjectAlternativeNameExtension(Byte[], Boolean)

Initializes a new instance of the X509SubjectAlternativeNameExtension class from an encoded representation of the extension and an optional critical marker.

X509SubjectAlternativeNameExtension(ReadOnlySpan<Byte>, Boolean)

Initializes a new instance of the X509SubjectAlternativeNameExtension class from an encoded representation of the extension and an optional critical marker.

Properties

Critical

Gets a Boolean value indicating whether the extension is critical.

(Inherited from X509Extension)
Oid

Gets or sets the Oid value for an AsnEncodedData object.

(Inherited from AsnEncodedData)
RawData

Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.

(Inherited from AsnEncodedData)

Methods

CopyFrom(AsnEncodedData)

Copies the extension properties of the specified AsnEncodedData object.

EnumerateDnsNames()

Enumerates the alternative name entries with a DNS Name type identifier.

EnumerateIPAddresses()

Enumerates the alternative name entries with an IP Address type identifier.

Equals(Object)

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

(Inherited from Object)
Format(Boolean)

Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.

(Inherited from AsnEncodedData)
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)

Applies to