• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class X509Name

An X.500 Distinguished Name (RFC 5280 §4.1.2.4). Read-only. The

Rfc4514String property formats the name per RFC 4514 (most-significant RDN first, known OIDs as keywords).

Inheritance
object
X509Name
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Crypto.X509
Assembly: DRIT.Mail.dll
Syntax
public sealed class X509Name

Constructors

View Source

X509Name(byte[], IReadOnlyList<X509Rdn>, string)

Initializes a new instance of the X509Name class.

Declaration
public X509Name(byte[] rawData, IReadOnlyList<X509Rdn> rdns, string rfc4514String)
Parameters
Type Name Description
byte[] rawData

The raw data used by the operation.

IReadOnlyList<X509Rdn> rdns

Specifies the rdns value.

string rfc4514String

The rfc4514 string used by the operation.

Properties

View Source

RawData

Gets the DER-encoded Name bytes.

Declaration
public byte[] RawData { get; }
Property Value
Type Description
byte[]
View Source

Rdns

Gets the relative distinguished names in encoding order (least-significant first, as stored in the DER).

Declaration
public IReadOnlyList<X509Rdn> Rdns { get; }
Property Value
Type Description
IReadOnlyList<X509Rdn>
View Source

Rfc4514String

Gets the RFC 4514 string representation (most-significant RDN first).

Declaration
public string Rfc4514String { get; }
Property Value
Type Description
string

Methods

View Source

ToString()

Returns the RFC 4514 string representation.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX