Package org.ldk.structs
Class ExpandedKey
- java.lang.Object
-
- org.ldk.structs.ExpandedKey
-
public class ExpandedKey extends Object
A set of keys that were HKDF-expanded from an initial call to [`NodeSigner::get_inbound_payment_key_material`]. [`NodeSigner::get_inbound_payment_key_material`]: crate::chain::keysinterface::NodeSigner::get_inbound_payment_key_material
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
static ExpandedKey
of(byte[] key_material)
Create a new [`ExpandedKey`] for generating an inbound payment hash and secret.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
of
public static ExpandedKey of(byte[] key_material)
Create a new [`ExpandedKey`] for generating an inbound payment hash and secret. It is recommended to cache this value and not regenerate it for each new inbound payment.
-
-