แก้ไข

แชร์ผ่าน


X509AuthorityInformationAccessExtension Constructors

Definition

Overloads

X509AuthorityInformationAccessExtension()

Initializes a new instance of the X509AuthorityInformationAccessExtension class.

X509AuthorityInformationAccessExtension(Byte[], Boolean)

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

X509AuthorityInformationAccessExtension(ReadOnlySpan<Byte>, Boolean)

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

X509AuthorityInformationAccessExtension(IEnumerable<String>, IEnumerable<String>, Boolean)

Initializes a new instance of the X509AuthorityInformationAccessExtension class from a collection of OCSP and CAIssuer values.

X509AuthorityInformationAccessExtension()

Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs

Initializes a new instance of the X509AuthorityInformationAccessExtension class.

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

Applies to

X509AuthorityInformationAccessExtension(Byte[], Boolean)

Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs

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

public X509AuthorityInformationAccessExtension (byte[] rawData, bool critical = false);
new System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension : byte[] * bool -> System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension
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.

Exceptions

rawData is null.

rawData did not decode as an Authority Information Access extension.

Applies to

X509AuthorityInformationAccessExtension(ReadOnlySpan<Byte>, Boolean)

Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs

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

public X509AuthorityInformationAccessExtension (ReadOnlySpan<byte> rawData, bool critical = false);
new System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension : ReadOnlySpan<byte> * bool -> System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension
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.

Exceptions

rawData did not decode as an Authority Information Access extension.

Applies to

X509AuthorityInformationAccessExtension(IEnumerable<String>, IEnumerable<String>, Boolean)

Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs
Source:
X509AuthorityInformationAccessExtension.cs

Initializes a new instance of the X509AuthorityInformationAccessExtension class from a collection of OCSP and CAIssuer values.

public X509AuthorityInformationAccessExtension (System.Collections.Generic.IEnumerable<string>? ocspUris, System.Collections.Generic.IEnumerable<string>? caIssuersUris, bool critical = false);
new System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension : seq<string> * seq<string> * bool -> System.Security.Cryptography.X509Certificates.X509AuthorityInformationAccessExtension
Public Sub New (ocspUris As IEnumerable(Of String), caIssuersUris As IEnumerable(Of String), Optional critical As Boolean = false)

Parameters

ocspUris
IEnumerable<String>

A collection of OCSP URI values to embed in the extension.

caIssuersUris
IEnumerable<String>

A collection of CAIssuers URI values to embed in the extension.

critical
Boolean

true if the extension is critical; otherwise, false.

Exceptions

Both ocspUris and caIssuersUris are either null or empty.

One of the values in ocspUris or caIssuersUris contains characters outside of the International Alphabet 5 (IA5) character space (which is equivalent to 7-bit US-ASCII).

Applies to