serialize to a json object . parameters are serialized as decimal strings . hex-versus-decimal was reverse-engineered from what the persona public verifier accepted . concode_field_sep RSAPrivateKey privateKey concode_elem_sep int SERIALIZATION_BASE concode_elem_sep String SIGNATURE_ALGORITHM concode_elem_sep RSAPublicKey publicKey concode_field_sep BrowserIDKeyPair fromJSONObject concode_elem_sep byte[] signMessage concode_elem_sep VerifyingPublicKey createPublicKey concode_elem_sep VerifyingPublicKey createPublicKey concode_elem_sep SigningPrivateKey createPrivateKey concode_elem_sep SigningPrivateKey createPrivateKey concode_elem_sep boolean verifyMessage concode_elem_sep String getAlgorithm concode_elem_sep BrowserIDKeyPair generateKeyPair
ExtendedJSONObject function ( ) { ExtendedJSONObject loc0 = new ExtendedJSONObject ( ) ; loc0 . put ( "srini_string" , "srini_string" ) ; loc0 . put ( "srini_string" , publicKey . getModulus ( ) . toString ( SERIALIZATION_BASE ) ) ; loc0 . put ( "srini_string" , publicKey . getPublicExponent ( ) . toString ( SERIALIZATION_BASE ) ) ; return loc0 ; }