private static int pack7Oid ( int input , byte [ ] out , int ooffset ) { byte [ ] b = new byte [ 4 ] ; b [ 0 ] = ( byte ) ( input >> 24 ) ; b [ 1 ] = ( byte ) ( input >> 16 ) ; b [ 2 ] = ( byte ) ( input >> 8 ) ; b [ 3 ] = ( byte ) ( input ) ; return pack7Oid ( b , 0 , 4 , out , ooffset ) ; }
Pack the int into a OID sub - identifier DER encoding