|
static void | retire_active_nodes (ccf::kv::Tx &tx) |
|
static bool | is_recovery_participant_or_owner (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
|
static bool | is_recovery_participant (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
|
static bool | is_recovery_owner (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
|
static bool | is_active_member (ccf::kv::ReadOnlyTx &tx, const MemberId &member_id) |
|
static std::map< MemberId, ccf::crypto::Pem > | get_active_recovery_participants (ccf::kv::ReadOnlyTx &tx) |
|
static std::map< MemberId, ccf::crypto::Pem > | get_active_recovery_owners (ccf::kv::ReadOnlyTx &tx) |
|
static MemberId | add_member (ccf::kv::Tx &tx, const NewMember &member_pub_info) |
|
static bool | activate_member (ccf::kv::Tx &tx, const MemberId &member_id) |
|
static bool | remove_member (ccf::kv::Tx &tx, const MemberId &member_id) |
|
static UserId | add_user (ccf::kv::Tx &tx, const NewUser &new_user) |
|
static void | remove_user (ccf::kv::Tx &tx, const UserId &user_id) |
|
static void | add_node (ccf::kv::Tx &tx, const NodeId &id, const NodeInfo &node_info) |
|
static std::map< NodeId, NodeInfo > | get_trusted_nodes (ccf::kv::ReadOnlyTx &tx) |
|
static void | create_service (ccf::kv::Tx &tx, const ccf::crypto::Pem &service_cert, ccf::TxID create_txid, nlohmann::json service_data=nullptr, bool recovering=false) |
|
static bool | is_service_created (ccf::kv::ReadOnlyTx &tx, const ccf::crypto::Pem &expected_service_cert) |
|
static bool | endorse_previous_identity (ccf::kv::Tx &tx, const ccf::crypto::KeyPair_OpenSSL &service_key) |
|
static bool | open_service (ccf::kv::Tx &tx) |
|
static std::optional< ServiceStatus > | get_service_status (ccf::kv::ReadOnlyTx &tx) |
|
static void | trust_node (ccf::kv::Tx &tx, const NodeId &node_id, ccf::kv::Version latest_ledger_secret_seqno) |
|
static void | set_constitution (ccf::kv::Tx &tx, const std::string &constitution) |
|
static void | trust_node_measurement (ccf::kv::Tx &tx, const pal::PlatformAttestationMeasurement &node_measurement, const QuoteFormat &platform) |
|
static void | trust_node_virtual_host_data (ccf::kv::Tx &tx, const HostData &host_data) |
|
static void | trust_node_snp_host_data (ccf::kv::Tx &tx, const HostData &host_data, const std::optional< HostDataMetadata > &security_policy=std::nullopt) |
|
static void | trust_node_uvm_endorsements (ccf::kv::Tx &tx, const std::optional< pal::UVMEndorsements > &uvm_endorsements) |
|
static void | trust_static_snp_tcb_version (ccf::kv::Tx &tx) |
|
static void | trust_node_snp_tcb_version (ccf::kv::Tx &tx, pal::snp::Attestation &attestation) |
|
static void | init_configuration (ccf::kv::Tx &tx, const ServiceConfiguration &configuration) |
|
static bool | set_recovery_threshold (ccf::kv::Tx &tx, size_t threshold) |
|
static size_t | get_recovery_threshold (ccf::kv::ReadOnlyTx &tx) |
|