+ /**
+ * A cryptographically secure source of entropy.
+ */
+ public EntropySource get_entropy_source() {
+ long ret = bindings.ChannelManagerReadArgs_get_entropy_source(this.ptr);
+ Reference.reachabilityFence(this);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ EntropySource ret_hu_conv = new EntropySource(null, ret);
+ if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
+ return ret_hu_conv;
+ }
+
+ /**
+ * A cryptographically secure source of entropy.
+ */
+ public void set_entropy_source(org.ldk.structs.EntropySource val) {
+ bindings.ChannelManagerReadArgs_set_entropy_source(this.ptr, val.ptr);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);
+ if (this != null) { this.ptrs_to.add(val); };
+ }
+
+ /**
+ * A signer that is able to perform node-scoped cryptographic operations.
+ */
+ public NodeSigner get_node_signer() {
+ long ret = bindings.ChannelManagerReadArgs_get_node_signer(this.ptr);
+ Reference.reachabilityFence(this);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ NodeSigner ret_hu_conv = new NodeSigner(null, ret);
+ if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
+ return ret_hu_conv;
+ }
+
+ /**
+ * A signer that is able to perform node-scoped cryptographic operations.
+ */
+ public void set_node_signer(org.ldk.structs.NodeSigner val) {
+ bindings.ChannelManagerReadArgs_set_node_signer(this.ptr, val.ptr);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);
+ if (this != null) { this.ptrs_to.add(val); };
+ }
+