package Ġorg . trust note . super wallet . network . pojo Ċ Ċ import Ġcom . google . gson . JsonObject Ċ import Ġcom . google . gson . Json Primitive Ċ import Ġorg . trust note . super wallet . network . Hub Model Ċ import Ġorg . trust note . super wallet . network . Hub Msg Factory . CMD _ GET _ TEMP _ PUB KEY Ċ Ċ class ĠReq Get Temp Pub key Ġ: ĠHub Request Ġ{ ĊĊĊĠĠĠ Ġ// ĠĠĠ Ġ[" request ", {" command ":" hub / get _ temp _ pubkey ", ĊĠĠĠ Ġ// Ġ" params ":" A 4 W ANK + q 3 y Kj Y 1 zr FE HD n Ae PN te 1 J az A 3 dpp W 3 XZ B 7 + 9 ", ĊĠĠĠ Ġ// Ġ" tag ":" l 8 l M ro 6 4 m Y rios RR 9 U pp 6 g CF j 1 T gm / 7 jl z 5 dG Qu 1 5 Ek =" }] ĊĠĠĠ Ġconstructor ( pubkey : ĠString , Ġhub Address : ĠString ) Ġ: Ġsuper ( CMD _ GET _ TEMP _ PUB KEY , Ġtag Ġ= ĠHub Model . instance . getRandom Tag ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġparams Ġ= ĠJson Primitive ( pubkey ) ĊĠĠĠĠĠĠĠ Ġset Req Params ( params ) ĊĠĠĠĠĠĠĠ Ġtarget Hub Address Ġ= Ġhub Address ĊĠĠĠĠĠĠĠ Ġcan Use Backup Hub Ġ= Ġfalse ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Temp Pub key (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ(( getResponse (). response Json Ġas ĠJsonObject ). get (" temp _ pubkey ") ?. asString ) ?: "" ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// [" response ", {" tag ":" l 8 l M ro 6 4 m Y rios RR 9 U pp 6 g CF j 1 T gm / 7 jl z 5 dG Qu 1 5 Ek =", ĊĠĠĠ Ġ// Ġ" response ":{" temp _ pubkey ":" At c 1 ms G 8 z 4 HT T Jy T 6 1 WK Ht L 6 A 4 x QL r Sm SM ac lv Zt Jd Y J ", ĊĠĠĠ Ġ// Ġ" pubkey ":" A 4 W ANK + q 3 y Kj Y 1 zr FE HD n Ae PN te 1 J az A 3 dpp W 3 XZ B 7 + 9 ", ĊĠĠĠ Ġ// Ġ" signature ":" 1 j AO Y 9 NE h 2 6 L wf Av f J IF 7 r 8 0 q wa / 3 sj cd Oy H 7 c WB cl MHz uff jl Hb 7 Iw PX WQ 5 o 7 HI + e / U mo q hx YT 9 BB Z gy TE q L Q ==" }} ] ĊĊ Ċ }