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.​X500RelativeDistinguishedName
Assembly: System.Security.Cryptography
Inheritance: object → X500RelativeDistinguishedName
Represents a Relative Distinguished Name component of an X.500 Distinguished Name.
Properties
public
bool
HasMultipleElements
Gets a value that indicates whether this Relative Distinguished Name is composed of multiple attributes or only a single attribute.
public
ReadOnlyMemory`1
RawData
Gets the encoded representation of this Relative Distinguished Name.
Methods
public
Oid
GetSingleElementType​() Returns The object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN).
Gets the object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN), when the RDN only contains one attribute.
public
string
GetSingleElementValue​() Returns The decoded text representing the attribute value.
If the attribute value is an <c>OCTET STRING</c> , or other non-text data type, this method returns <see langword="null" /> .
Gets the textual representation of the value for the Relative Distinguished Name (RDN), when the RDN only contains one attribute.
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