public static byte [ ] encodeInteger ( BigInteger bigInt ) { if ( bigInt == null ) { throw new NullPointerException ( "encodeInteger called with null parameter" ) ; } return encodeBase64 ( toIntegerBytes ( bigInt ) , false ) ; }
Encodes to a byte64 - encoded integer according to crypto standards such as W3C s XML - Signature