Class 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 Detail

      • 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.