/** * Creates an ECKey given the private key only. * * @param privKeyBytes - * * @return - */ public static ECKey fromPrivate(byte[] privKeyBytes) { return fromPrivate(new BigInteger(1, privKeyBytes)); }
/** * @deprecated should prefer #sign(ECKey) over this method */ public void sign(byte[] privKeyBytes) throws MissingPrivateKeyException { sign(ECKey.fromPrivate(privKeyBytes)); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); appCoinsIab = AppCoinsIabSingleton.getAppCoinsIab(); microRaidenBDS = BDSMicroRaidenjSingleton.getInstance(); senderECKey = ECKey.fromPrivate( new BigInteger("24124c07ecc5e4d4bd01ef83d2d24295b31998fabebd9e7cb0c01b44589c137c", 16)); }
ECKey senderECKey = ECKey.fromPrivate(new BigInteger("", 16));
ECKey senderECKey = ECKey.fromPrivate(new BigInteger("", 16)); ECKey receiverEcKey = ECKey.fromPrivate( new BigInteger("dd615cb6205e116410272c5c885ec1fcc1728bac667704523cc79a694fd61227", 16));