X509AuthorityInformationAccessExtension Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Initializes a new instance of the X509AuthorityInformationAccessExtension class.
public:
X509AuthorityInformationAccessExtension();
public X509AuthorityInformationAccessExtension ();
Public Sub New ()
Applies to
X509AuthorityInformationAccessExtension(Byte[], Boolean)
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)
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)
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應