An Oid is encoded as a list of bytes representing integers.
An Oid has a numeric representation where number are separated with dots :
SPNEGO Oid = 1.3.6.1.5.5.2
Translating from a byte list to a dot separated list of number follows the rules :
the first number is in [0..2]
the second number is in [0..39] if the first number is 0 or 1
the first byte has a value equal to : number 1 * 40 + number two
the upper bit of a byte is set if the next byte is a part of the number
For instance, the SPNEGO Oid (1.3.6.1.5.5.2) will be encoded :
Oid() -
Constructor for class org.apache.directory.api.asn1.util.Oid
Creates a new Oid object.
Oid(byte[]) -
Constructor for class org.apache.directory.api.asn1.util.Oid
Create a new Oid object from a byte array
Oid(String) -
Constructor for class org.apache.directory.api.asn1.util.Oid