Click or drag to resize

Oid2 Class

An extended class for Oid class. Extended class provides rich functionality by returning additional OID registration information and OID registration/unregistration capabilites.
Inheritance Hierarchy
SystemObject
  System.Security.CryptographyOid2

Namespace:  System.Security.Cryptography
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public sealed class Oid2

The Oid2 type exposes the following members.

Constructors
  NameDescription
Public methodOid2(Oid, Boolean)
Initializes a new instance of the Oid2 class from an existing Oid object.
Public methodOid2(String, Boolean)
Initializes a new instance of the Oid2 class using the specified Oid friendly name or value and search conditions.
Public methodOid2(Oid, OidGroupEnum, Boolean)
Initializes a new instance of the Oid2 class from an existing Oid object, OID registration group and search conditions.
Public methodOid2(String, OidGroupEnum, Boolean)
Initializes a new instance of the Oid2 class using the specified Oid friendly name or value, OID registration group and search conditions.
Top
Properties
  NameDescription
Public propertyDistinguishedName
Gets the registration path in Active Directory.
Public propertyFriendlyName
Gets the friendly name of the identifier.
Public propertyOidGroup
Gets the group at which the identifier is registered
Public propertyValue
Gets the dotted number of the identifier.
Top
Methods
  NameDescription
Public methodEquals
Compares two Oid2 objects for equality.
(Overrides ObjectEquals(Object).)
Public methodStatic memberGetAllOids
Gets all registrations for the specified OID value.
Public methodGetCPSLinks
Gets an array of URL associated with certificate practice statement (CPS). This method fails on any OID groups except IssuancePolicy.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberMapHashToSignatureOid
Converts hashing algorithm OID to appropriate OID from signature group. For example, translates sha1 hashing algorithm to sha1NoSign with the same OID value.
Public methodStatic memberRegister
Registers object identifier in the OID database, either, local or in Active Directory.
Public methodToOid
Gets a generic Oid object from the current object.
Public methodToString (Inherited from Object.)
Public methodStatic memberUnregister
Unregisters object identifier from OID registration database.
Top
See Also