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.​X509SubjectAlternativeNameExtension
Assembly: System.Security.Cryptography
Inheritance: object → AsnEncodedData → X509Extension → X509SubjectAlternativeNameExtension
Represents the Subject Alternative Name X.509 Extension (2.5.29.17).
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.
EnumerateDnsNames​()
Returns The name entries with a DNS Name type identifier.
Enumerates the alternative name entries with a DNS Name type identifier.
EnumerateIPAddresses​()
Returns The name entries with an IP Address type identifier.
Enumerates the alternative name entries with an IP Address type identifier.
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
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object