private static int pack7Oid ( BigInteger input , byte [ ] out , int ooffset ) { byte [ ] b = input . toByteArray ( ) ; return pack7Oid ( b , 0 , b . length , out , ooffset ) ; }
Pack the BigInteger into a OID subidentifier DER encoding