Szerkesztés

Megosztás a következőn keresztül:


X509SubjectAlternativeNameExtension Constructors

Definition

Overloads

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.

X509SubjectAlternativeNameExtension()

Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs

Initializes a new instance of the X509SubjectAlternativeNameExtension class.

public:
 X509SubjectAlternativeNameExtension();
public X509SubjectAlternativeNameExtension ();
Public Sub New ()

Applies to

X509SubjectAlternativeNameExtension(Byte[], Boolean)

Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs

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

public X509SubjectAlternativeNameExtension (byte[] rawData, bool critical = false);
new System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension : byte[] * bool -> System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension
Public Sub New (rawData As Byte(), Optional critical As Boolean = false)

Parameters

rawData
Byte[]

The encoded data used to create the extension.

critical
Boolean

true if the extension is critical; otherwise, false. The default is false.

Exceptions

rawData is null.

rawData did not decode as a Subject Alternative Name extension.

Applies to

X509SubjectAlternativeNameExtension(ReadOnlySpan<Byte>, Boolean)

Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs
Source:
X509SubjectAlternativeNameExtension.cs

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

public X509SubjectAlternativeNameExtension (ReadOnlySpan<byte> rawData, bool critical = false);
new System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension : ReadOnlySpan<byte> * bool -> System.Security.Cryptography.X509Certificates.X509SubjectAlternativeNameExtension
Public Sub New (rawData As ReadOnlySpan(Of Byte), Optional critical As Boolean = false)

Parameters

rawData
ReadOnlySpan<Byte>

The encoded data used to create the extension.

critical
Boolean

true if the extension is critical; otherwise, false. The default is false.

Exceptions

rawData did not decode as a Subject Alternative Name extension.

Applies to