Oid Class

 

Represents a cryptographic object identifier. This class cannot be inherited.

Namespace:   System.Security.Cryptography
Assembly:  System (in System.dll)

System.Object
  System.Security.Cryptography.Oid

[<Sealed>]
type Oid = class end

NameDescription
System_CAPS_pubmethodOid()

Initializes a new instance of the Oid class.

System_CAPS_pubmethodOid(Oid)

Initializes a new instance of the Oid class using the specified Oid object.

System_CAPS_pubmethodOid(String)

Initializes a new instance of the Oid class using a string value of an Oid object.

System_CAPS_pubmethodOid(String, String)

Initializes a new instance of the Oid class using the specified value and friendly name.

NameDescription
System_CAPS_pubpropertyFriendlyName

Gets or sets the friendly name of the identifier.

System_CAPS_pubpropertyValue

Gets or sets the dotted number of the identifier.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromFriendlyName(String, OidGroup)

Creates an Oid object from an OID friendly name by searching the specified group.

System_CAPS_pubmethodSystem_CAPS_staticFromOidValue(String, OidGroup)

Creates an Oid object by using the specified OID value and group.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Cryptographic object identifiers consist of a value/name pair. If one property in a pair is set to a known value, the other property is updated automatically to a corresponding value. For example, if the Value property is set to "1.3.6.1.5.5.7.3.4", the FriendlyName property, which is localized, is set automatically to "Secure Email".

The following code example shows how to use the Oid class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: