Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​X509Certificates.​X509AuthorityInformationAccessExtension
Assembly: System.Security.Cryptography
Inheritance: object → AsnEncodedData → X509Extension → X509AuthorityInformationAccessExtension
Represents the Authority Information Access X.509 Extension (1.3.6.1.5.5.7.1.1).
Properties
public
bool
Critical
Gets a Boolean value indicating whether the extension is critical.
public
Oid
Oid
Gets or sets the <see cref="T:System.Security.Cryptography.Oid" /> value for an <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.
public
byte[]
RawData
Gets or sets the Abstract Syntax Notation One (ASN.1)-encoded data represented in a byte array.
Methods
public
void
CopyFrom​(AsnEncodedData asnEncodedData)
Copies the extension properties of the specified <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.
asnEncodedData
The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> to be copied.
public
Collections.​Generic.​IEnumerable<​string>
EnumerateCAIssuersUris​()
Enumerates the AccessDescription values whose AccessMethod is CAIssuers (1.3.6.1.5.5.7.48.2) and content data type is URI.
Returns The URIs corresponding to the locations for the issuing Certificate Authority certificate.
public
Collections.​Generic.​IEnumerable<​string>
EnumerateOcspUris​()
Enumerates the AccessDescription values whose AccessMethod is OCSP (1.3.6.1.5.5.7.48.1) and content data type is URI.
Returns The URIs corresponding to the locations for the issuing Certificate Authority certificate.
public
Collections.​Generic.​IEnumerable<​string>
EnumerateUris​(Oid accessMethodOid)
Enumerates the AccessDescription values described in this extension, filtering the results to include only items using the specified access method and having a content data type of URI.
Returns The URI-typed access location values that correspond to the requested access method.
accessMethodOid
The object identifier representing the access method for filtering.
public
Collections.​Generic.​IEnumerable<​string>
EnumerateUris​(string accessMethodOid)
Enumerates the AccessDescription values described in this extension, filtering the results to include only items using the specified access method and having a content data type of URI.
Returns The URI-typed access location values that correspond to the requested access method.
accessMethodOid
The dotted-decimal form of the access method for filtering.
public
string
Format​(bool multiLine)
Inherited from AsnEncodedData
Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.
Returns A formatted string that represents the Abstract Syntax Notation One (ASN.1)-encoded data.
multiLine
<see langword="true" /> if the return string should contain carriage returns; otherwise, <see langword="false" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object