Little helper class for the asn1 package.
Implement the Bit String primitive type.
This class implement an Oid (Object Identifier).
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 = 188.8.131.52.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 (184.108.40.206.5.5.2) will be encoded :
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.