6 public sealed
class Oid 8 private string m_value;
10 private string m_friendlyName;
34 if (m_friendlyName ==
null && m_value !=
null)
38 return m_friendlyName;
42 m_friendlyName = value;
43 if (m_friendlyName !=
null)
61 public Oid(
string oid)
66 internal Oid(
string oid,
OidGroup group,
bool lookupFriendlyName)
68 if (lookupFriendlyName)
87 public Oid(
string value,
string friendlyName)
90 m_friendlyName = friendlyName;
103 m_value = oid.m_value;
104 m_friendlyName = oid.m_friendlyName;
105 m_group = oid.m_group;
108 private Oid(
string value,
string friendlyName,
OidGroup group)
111 m_friendlyName = friendlyName;
124 if (friendlyName ==
null)
133 return new Oid(text, friendlyName, group);
145 if (oidValue ==
null)
154 return new Oid(oidValue, text, group);
The exception that is thrown when an error occurs during a cryptographic operation.
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
Represents a cryptographic object identifier. This class cannot be inherited.
string Value
Gets or sets the dotted number of the identifier.
OidGroup
Identifies Windows cryptographic object identifier (OID) groups.
Oid(Oid oid)
Initializes a new instance of the T:System.Security.Cryptography.Oid class using the specified T:Syst...
Oid(string oid)
Initializes a new instance of the T:System.Security.Cryptography.Oid class using a string value of an...
Oid()
Initializes a new instance of the T:System.Security.Cryptography.Oid class.
static Oid FromOidValue(string oidValue, OidGroup group)
Creates an T:System.Security.Cryptography.Oid object by using the specified OID value and group.
Oid(string value, string friendlyName)
Initializes a new instance of the T:System.Security.Cryptography.Oid class using the specified value ...
static Oid FromFriendlyName(string friendlyName, OidGroup group)
Creates an T:System.Security.Cryptography.Oid object from an OID friendly name by searching the speci...
string FriendlyName
Gets or sets the friendly name of the identifier.