static Result_SecretKeyErrorZ |
UtilMethods.derive_private_key(byte[] per_commitment_point,
byte[] base_secret) |
Derives a per-commitment-transaction private key (eg an htlc key or delayed_payment key)
from the base secret and the per_commitment_point.
|
static Result_SecretKeyErrorZ |
UtilMethods.derive_private_revocation_key(byte[] per_commitment_secret,
byte[] countersignatory_revocation_base_secret) |
Derives a per-commitment-transaction revocation key from its constituent parts.
|
static Result_SecretKeyErrorZ |
Result_SecretKeyErrorZ.err(Secp256k1Error e) |
Creates a new CResult_SecretKeyErrorZ in the error state.
|
static Result_SecretKeyErrorZ |
Result_SecretKeyErrorZ.ok(byte[] o) |
Creates a new CResult_SecretKeyErrorZ in the success state.
|