Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ObjectIdentifier Class

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

Represents a cryptographic object identifier.

Syntax
public sealed class ObjectIdentifier
Inheritance
Object
ObjectIdentifier
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
ObjectIdentifier(ObjectIdentifier)

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

ObjectIdentifier(String)

Initializes a new instance of the ObjectIdentifier class using the specified OID dotted number string.

Properties

Name Description
Value

Gets the dotted number representation of the object identifier.

Methods

Name Description
Encode()

Gets an ASN.1 DER-encoded byte array representation of this OID.

Parse(Byte[])

Parses an OID from an ASN.1 encoded byte array.

ToArray()

Returns a byte array that represents the inner content of DER-encoded form of this OID. Note: This is almost never used. Most likely, Encode() should be used instead.

ToString()

Returns a string in dotted number format that represents the current ObjectIdentifier.

Operators

Name Description
Implicit(String to ObjectIdentifier)

Converts a String OID to an ObjectIdentifier.

In This Article
  • Constructors
  • Properties
  • Methods
  • Operators
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies