X500RelativeDistinguishedName.GetSingleElementType Method

Definition

Gets the object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN), when the RDN only contains one attribute.

C#
public System.Security.Cryptography.Oid GetSingleElementType();

Returns

Oid

The object identifier (OID) identifying the single attribute value for this Relative Distinguished Name (RDN).

Exceptions

The Relative Distinguished Name has multiple attributes (HasMultipleElements is true).

Applies to

Proizvod Verzije
.NET 7, 8, 9, 10