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.​X509Extension

Assembly: System.Security.Cryptography

Inheritance: object → AsnEncodedData → X509Extension

Represents an X509 extension.

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)
asnEncodedData The <see cref="T:System.Security.Cryptography.AsnEncodedData" /> to be copied.
Copies the extension properties of the specified <see cref="T:System.Security.Cryptography.AsnEncodedData" /> object.
public string
Format​(bool multiLine)
Inherited from AsnEncodedData
multiLine <see langword="true" /> if the return string should contain carriage returns; otherwise, <see langword="false" /> .
Returns A formatted string that represents the Abstract Syntax Notation One (ASN.1)-encoded data.
Returns a formatted version of the Abstract Syntax Notation One (ASN.1)-encoded data as a string.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object