Sunday, 15 April 2018

ASN.1: OBJECT IDENTIFIER

Type: OBJECT IDENTIFIER   

Description: It is used to uniquely identify an entity like algorithm, certificate, (or) organization. It is a sequence of integer components, and components usually have non-negative value. 

Example
organizationCode OBJECT IDENTIFIER

Example Schema
Organization ::=  SEQUENCE {
    name VisibleString,
    organizationCode OBJECT IDENTIFIER
}

Sample data for above schema
organization Organization ::={
   name "ABC Organization",
   organizationCode 1.2.840.113549.1.7.2
}

XML encoding of above data
<?xml version="1.0" encoding="UTF-8"?>
<Organization>
  <name>ABC Organization</name>
  <organizationCode>1.2.840.113549.1.7.2</organizationCode>
</Organization>


Go through below link to get list of Object Identifiers for various ASN.1 Objects.

Object Identifier tree
Object Identifier tree is a hierarchical representation of all the uniquely identified objects. At each level of the tree, the nodes are labelled 0, 1, 2…


For example, as you see above object identifier tree, the identifier 1.2.124 represents the ‘Sales Department’ of ABC Organisation.



Previous                                                 Next                                                 Home

No comments:

Post a Comment