|
| using | ByteVector = llvm_vecsmall::SmallVector< uint8_t, 8 > |
| |
| using | OpenAPISecuritySchema = std::pair< std::string, nlohmann::json > |
| |
| using | AuthnPolicies = std::vector< std::shared_ptr< AuthnPolicy > > |
| |
| using | NamedAuthPolicies = std::unordered_map< std::string, std::shared_ptr< ccf::AuthnPolicy > > |
| |
| using | MemberId = EntityId< MemberIdFormatter > |
| |
| using | UserId = EntityId< UserIdFormatter > |
| |
| using | NodeId = EntityId< NodeIdFormatter > |
| |
| using | HandlerJsonParamsAndForward = std::function< jsonhandler::JsonAdapterResponse(endpoints::EndpointContext &ctx, nlohmann::json &¶ms)> |
| |
| using | ReadOnlyHandlerWithJson = std::function< jsonhandler::JsonAdapterResponse(endpoints::ReadOnlyEndpointContext &ctx, nlohmann::json &¶ms)> |
| |
| using | CommandHandlerWithJson = std::function< jsonhandler::JsonAdapterResponse(endpoints::CommandEndpointContext &ctx, nlohmann::json &¶ms)> |
| |
| using | ReceiptPtr = std::shared_ptr< Receipt > |
| |
| using | TxReceiptImplPtr = std::shared_ptr< TxReceiptImpl > |
| |
| using | ListenInterfaceID = std::string |
| |
| using | PathParams = std::map< std::string, std::string, std::less<> > |
| |
| using | SeqNoCollection = ccf::ds::ContiguousSet< ccf::SeqNo > |
| |
| template<typename K , typename V > |
| using | ServiceMap = ccf::kv::MapSerialisedWith< K, V, ccf::kv::serialisers::BlitSerialiser, ccf::kv::serialisers::JsonSerialiser > |
| |
| template<typename V > |
| using | ServiceValue = ccf::kv::ValueSerialisedWith< V, ccf::kv::serialisers::JsonSerialiser, ccf::kv::serialisers::ZeroBlitUnitCreator > |
| |
| template<typename K > |
| using | ServiceSet = ccf::kv::SetSerialisedWith< K, ccf::kv::serialisers::BlitSerialiser, ccf::kv::serialisers::ZeroBlitUnitCreator > |
| |
| using | ApplicationProtocol = std::string |
| |
| using | ACMECertificates = ServiceMap< std::string, ccf::crypto::Pem > |
| |
| using | CACertBundlePEMs = ServiceMap< std::string, std::string > |
| |
| using | CodeIDs = ServiceMap< pal::SgxAttestationMeasurement, CodeStatus > |
| |
| using | Constitution = ServiceValue< std::string > |
| |
| using | SnpHostDataMap = ServiceMap< HostData, HostDataMetadata > |
| |
| using | JSEngine = ServiceValue< JSRuntimeOptions > |
| |
| using | JwtIssuer = std::string |
| |
| using | JwtKeyId = std::string |
| |
| using | Cert = std::vector< uint8_t > |
| |
| using | JwtIssuers = ServiceMap< JwtIssuer, JwtIssuerMetadata > |
| |
| using | JwtPublicSigningKeys = ServiceMap< JwtKeyId, std::vector< OpenIDJWKMetadata > > |
| |
| using | MemberInfo = ServiceMap< MemberId, MemberDetails > |
| |
| using | MemberCerts = ccf::kv::RawCopySerialisedMap< MemberId, ccf::crypto::Pem > |
| |
| using | MemberPublicEncryptionKeys = ccf::kv::RawCopySerialisedMap< MemberId, ccf::crypto::Pem > |
| |
| using | MemberAcks = ServiceMap< MemberId, MemberAck > |
| |
| using | Module = std::string |
| |
| using | Modules = ccf::kv::RawCopySerialisedMap< std::string, Module > |
| |
| using | ModulesQuickJsBytecode = ccf::kv::RawCopySerialisedMap< std::string, std::vector< uint8_t > > |
| |
| using | ModulesQuickJsVersion = ccf::kv::RawCopySerialisedValue< std::string > |
| |
| using | InterpreterFlush = ServiceValue< bool > |
| |
| using | Nodes = ServiceMap< NodeId, NodeInfo > |
| |
| using | NodeEndorsedCertificates = ccf::kv::RawCopySerialisedMap< NodeId, ccf::crypto::Pem > |
| |
| using | ProposalId = std::string |
| |
| using | Service = ServiceValue< ServiceInfo > |
| |
| using | SnpMeasurements = ServiceMap< pal::SnpAttestationMeasurement, CodeStatus > |
| |
| using | UserCerts = ccf::kv::RawCopySerialisedMap< UserId, ccf::crypto::Pem > |
| |
| using | UserInfo = ServiceMap< UserId, UserDetails > |
| |
| using | DID = std::string |
| |
| using | Feed = std::string |
| |
| using | FeedToEndorsementsDataMap = std::map< Feed, UVMEndorsementsData > |
| |
| using | SNPUVMEndorsements = ServiceMap< DID, FeedToEndorsementsDataMap > |
| |
| using | View = uint64_t |
| |
| using | SeqNo = uint64_t |
| |
| using | QUICSessionImpl = quic::QUICEchoSession |
| |
| template<typename In , typename Out > |
| using | GrpcEndpoint = std::function< grpc::GrpcAdapterResponse< Out >(endpoints::EndpointContext &, In &&)> |
| |
| template<typename In , typename Out > |
| using | GrpcReadOnlyEndpoint = std::function< grpc::GrpcAdapterResponse< Out >(endpoints::ReadOnlyEndpointContext &, In &&)> |
| |
| template<typename In , typename Out > |
| using | GrpcCommandEndpoint = std::function< grpc::GrpcAdapterResponse< Out >(endpoints::CommandEndpointContext &, In &&)> |
| |
| template<typename In , typename Out > |
| using | GrpcCommandUnaryStreamEndpoint = std::function< grpc::GrpcAdapterStreamingResponse(endpoints::CommandEndpointContext &, In &&, grpc::StreamPtr< Out > &&)> |
| |
| using | MsgNonce = uint64_t |
| |
| using | GcmHdr = ccf::crypto::FixedSizeGcmHeader< sizeof(MsgNonce)> |
| |
| using | NodeEncryptor = ccf::kv::TxEncryptor< ccf::LedgerSecrets, TxGcmHeader > |
| |
| using | HistoryTree = merkle::TreeT< sha256_byte_size, ccf::sha256_history > |
| |
| using | MerkleTxHistory = HashedTxHistory< MerkleTreeHistory > |
| |
| using | LedgerSecretPtr = std::shared_ptr< LedgerSecret > |
| |
| using | LedgerSecretsMap = std::map< ccf::kv::Version, LedgerSecretPtr > |
| |
| using | VersionedLedgerSecret = LedgerSecretsMap::value_type |
| |
| using | RaftType = aft::Aft<::consensus::LedgerEnclave > |
| |
| using | Node2NodeMsg = uint64_t |
| |
| using | QuoteEndorsementsFetchedCallback = std::function< void(std::vector< uint8_t > &&endorsements)> |
| |
| using | JsBundleEndpoint = std::map< std::string, ccf::endpoints::EndpointProperties > |
| |
| using | ConsensusConfig = std::map< std::string, ConsensusNodeConfig > |
| |
| using | ExtendedState = std::tuple< NodeStartupState, std::optional< ccf::kv::Version >, std::optional< ccf::kv::Version > > |
| |
| using | RecoveredEncryptedLedgerSecrets = std::list< EncryptedLedgerSecretInfo > |
| |
| using | BackupSignaturesMap = ServiceValue< BackupSignatures > |
| |
| using | DynamicEndpoints = ccf::ServiceMap< endpoints::EndpointKey, endpoints::EndpointProperties > |
| |
| using | GovernanceHistory = ServiceMap< MemberId, SignedReq > |
| |
| using | COSEGovernanceHistory = ServiceMap< MemberId, std::vector< uint8_t > > |
| |
| using | COSERecentProposals = ServiceMap< std::string, ProposalId > |
| |
| using | Nonce = ccf::crypto::Sha256Hash |
| |
| using | PreviousServiceIdentity = ServiceValue< ccf::crypto::Pem > |
| |
| using | LedgerSecretsForNodes = std::map< NodeId, EncryptedLedgerSecrets > |
| |
| using | Secrets = ServiceValue< LedgerSecretsForNodes > |
| |
| using | EncryptedShare = std::vector< uint8_t > |
| |
| using | EncryptedSharesMap = std::map< MemberId, EncryptedShare > |
| |
| using | EncryptedLedgerSecretsInfo = ServiceValue< EncryptedLedgerSecretInfo > |
| |
| using | Signatures = ServiceValue< PrimarySignature > |
| |
| using | SerialisedMerkleTree = ccf::kv::RawCopySerialisedValue< std::vector< uint8_t > > |
| |
| using | CoseSignature = std::vector< uint8_t > |
| |
| using | CoseSignatures = ServiceValue< CoseSignature > |
| |
| using | SnapshotEvidence = ServiceValue< SnapshotHash > |
| |
| using | EncryptedSubmittedShare = std::vector< uint8_t > |
| |
| using | EncryptedSubmittedShares = ServiceMap< MemberId, EncryptedSubmittedShare > |
| |
|
| std::unique_ptr< ccf::endpoints::EndpointRegistry > | make_user_endpoints (ccf::AbstractNodeContext &context) |
| |
| std::vector< ccf::js::FFIPlugin > | get_js_plugins () |
| |
| constexpr char const * | api_result_to_str (ApiResult result) |
| |
| constexpr char const * | invalid_args_reason_to_str (InvalidArgsReason reason) |
| |
| void | to_json (nlohmann::json &j, const ClaimsDigest &hash) |
| |
| void | from_json (const nlohmann::json &j, ClaimsDigest &hash) |
| |
| std::string | schema_name (const ClaimsDigest *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const ClaimsDigest *) |
| |
| | DECLARE_JSON_ENUM (QuoteFormat, {{QuoteFormat::oe_sgx_v1, "OE_SGX_v1"}, {QuoteFormat::insecure_virtual, "Insecure_Virtual"}, {QuoteFormat::amd_sev_snp_v1, "AMD_SEV_SNP_v1"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (QuoteInfo) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (QuoteInfo, format, quote, endorsements) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (QuoteInfo, uvm_endorsements, endorsed_tcb) |
| |
| bool | validate_issuer (const std::string &iss, const std::optional< std::string > &tid, std::string constraint) |
| |
| template<typename FmtExtender > |
| void | to_json (nlohmann::json &j, const EntityId< FmtExtender > &entity_id) |
| |
| template<typename FmtExtender > |
| void | from_json (const nlohmann::json &j, EntityId< FmtExtender > &entity_id) |
| |
| template<typename FmtExtender > |
| std::string | schema_name (const EntityId< FmtExtender > *) |
| |
| template<typename FmtExtender > |
| void | fill_json_schema (nlohmann::json &schema, const EntityId< FmtExtender > *) |
| |
| | DECLARE_JSON_ENUM (ActionFormat, {{ActionFormat::COSE, "COSE"}, {ActionFormat::JSON, "JSON"}}) |
| |
| jsonhandler::JsonAdapterResponse | make_success () |
| |
| jsonhandler::JsonAdapterResponse | make_success (nlohmann::json &&result_payload) |
| |
| jsonhandler::JsonAdapterResponse | make_success (const nlohmann::json &result_payload) |
| |
| jsonhandler::JsonAdapterResponse | make_error (http_status status, const std::string &code, const std::string &msg) |
| |
| jsonhandler::JsonAdapterResponse | make_redirect (http_status status) |
| |
| endpoints::EndpointFunction | json_adapter (const HandlerJsonParamsAndForward &f) |
| |
| endpoints::ReadOnlyEndpointFunction | json_read_only_adapter (const ReadOnlyHandlerWithJson &f) |
| |
| endpoints::CommandEndpointFunction | json_command_adapter (const CommandHandlerWithJson &f) |
| |
| | DECLARE_JSON_TYPE (ODataAuthErrorDetails) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ODataAuthErrorDetails, auth_policy, code, message) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ODataJSExceptionDetails) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ODataJSExceptionDetails, code, message) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (ODataJSExceptionDetails, trace) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ODataError) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ODataError, code, message) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (ODataError, details) |
| |
| | DECLARE_JSON_TYPE (ODataErrorResponse) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ODataErrorResponse, error) |
| |
| nlohmann::json | describe_receipt_v1 (const TxReceiptImpl &receipt) |
| |
| ReceiptPtr | describe_receipt_v2 (const TxReceiptImpl &receipt) |
| |
| void | to_json (nlohmann::json &j, const ProofReceipt::Components &step) |
| |
| void | from_json (const nlohmann::json &j, ProofReceipt::Components &step) |
| |
| std::string | schema_name (const ProofReceipt::Components *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const ProofReceipt::Components *) |
| |
| void | to_json (nlohmann::json &j, const ProofReceipt::ProofStep &step) |
| |
| void | from_json (const nlohmann::json &j, ProofReceipt::ProofStep &step) |
| |
| std::string | schema_name (const ProofReceipt::ProofStep *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const ProofReceipt::ProofStep *) |
| |
| void | to_json (nlohmann::json &j, const ReceiptPtr &receipt) |
| |
| void | from_json (const nlohmann::json &j, ReceiptPtr &receipt) |
| |
| std::string | schema_name (const ReceiptPtr *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const ReceiptPtr *) |
| |
| template<typename T > |
| void | add_schema_components (T &helper, nlohmann::json &schema, const ProofReceipt::Components *comp) |
| |
| template<typename T > |
| void | add_schema_components (T &helper, nlohmann::json &schema, const ProofReceipt::ProofStep *ps) |
| |
| template<typename T > |
| void | add_schema_components (T &helper, nlohmann::json &schema, const ReceiptPtr *r) |
| |
| void | to_json (nlohmann::json &j, const RESTVerb &verb) |
| |
| void | from_json (const nlohmann::json &j, RESTVerb &verb) |
| |
| std::string | schema_name (const RESTVerb *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const RESTVerb *) |
| |
| | DECLARE_JSON_TYPE (ACMEClientConfig) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ACMEClientConfig, ca_certs, directory_url, service_dns_name, contact, terms_of_service_agreed, challenge_type) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (ACMEClientConfig, not_before, not_after, challenge_server_interface) |
| |
| | DECLARE_JSON_ENUM (CodeStatus, {{CodeStatus::ALLOWED_TO_JOIN, "AllowedToJoin"}}) |
| |
| | DECLARE_JSON_ENUM (NodeStatus, {{NodeStatus::PENDING, "Pending"}, {NodeStatus::TRUSTED, "Trusted"}, {NodeStatus::RETIRED, "Retired"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_BASE_AND_OPTIONAL_FIELDS (NodeInfo, NodeInfoNetwork) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfo, quote_info, encryption_pub_key, status) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (NodeInfo, cert, ledger_secret_seqno, code_digest, certificate_signing_request, public_key, node_data, retired_committed) |
| |
| | DECLARE_JSON_ENUM (Authority, {{Authority::NODE, "Node"}, {Authority::SERVICE, "Service"}, {Authority::ACME, "ACME"}, {Authority::UNSECURED, "Unsecured"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (Endorsement) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (Endorsement, authority) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (Endorsement, acme_configuration) |
| |
| | DECLARE_JSON_TYPE (NodeInfoNetwork_v1) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfoNetwork_v1, rpchost, pubhost, nodehost, nodeport, rpcport, pubport) |
| |
| | DECLARE_JSON_ENUM (RedirectionResolutionKind, {{RedirectionResolutionKind::NodeByRole, "NodeByRole"}, {RedirectionResolutionKind::StaticAddress, "StaticAddress"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (RedirectionResolverConfig) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (RedirectionResolverConfig, kind) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (RedirectionResolverConfig, target) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (NodeInfoNetwork_v2::NetInterface::Redirections) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfoNetwork_v2::NetInterface::Redirections) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (NodeInfoNetwork_v2::NetInterface::Redirections, to_primary, to_backup) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (NodeInfoNetwork_v2::NetInterface) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfoNetwork_v2::NetInterface, bind_address) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (NodeInfoNetwork_v2::NetInterface, endorsement, max_open_sessions_soft, max_open_sessions_hard, published_address, protocol, app_protocol, http_configuration, accepted_endpoints, forwarding_timeout_ms, redirections) |
| |
| | DECLARE_JSON_TYPE (NodeInfoNetwork_v2::ACME) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfoNetwork_v2::ACME, configurations) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (NodeInfoNetwork_v2) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeInfoNetwork_v2, node_to_node_interface, rpc_interfaces) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (NodeInfoNetwork_v2, acme) |
| |
| void | to_json (nlohmann::json &j, const NodeInfoNetwork &nin) |
| |
| void | from_json (const nlohmann::json &j, NodeInfoNetwork &nin) |
| |
| void | to_json (nlohmann::json &j, const JSRuntimeOptions &options) |
| |
| void | from_json (const nlohmann::json &j, JSRuntimeOptions &options) |
| |
| std::string | schema_name (const JSRuntimeOptions *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const JSRuntimeOptions *) |
| |
| | DECLARE_JSON_TYPE (JwtIssuerKeyPolicy) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (JwtIssuerKeyPolicy, sgx_claims) |
| |
| | DECLARE_JSON_ENUM (JwtIssuerKeyFilter, {{JwtIssuerKeyFilter::All, "all"}, {JwtIssuerKeyFilter::SGX, "sgx"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (JwtIssuerMetadata) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (JwtIssuerMetadata, key_filter) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (JwtIssuerMetadata, key_policy, ca_cert_bundle_name, auto_refresh) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (OpenIDJWKMetadata) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (OpenIDJWKMetadata, cert, issuer) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (OpenIDJWKMetadata, constraint) |
| |
| | DECLARE_JSON_ENUM (MemberStatus, {{MemberStatus::ACCEPTED, "Accepted"}, {MemberStatus::ACTIVE, "Active"}}) |
| |
| NodeId | compute_node_id_from_pubk_der (const std::vector< uint8_t > &node_pubk_der) |
| |
| NodeId | compute_node_id_from_cert_der (const std::vector< uint8_t > &node_cert_der) |
| |
| NodeId | compute_node_id_from_kp (const ccf::crypto::KeyPairPtr &node_sign_kp) |
| |
| | DECLARE_JSON_ENUM (ProposalState, {{ProposalState::OPEN, "Open"}, {ProposalState::ACCEPTED, "Accepted"}, {ProposalState::WITHDRAWN, "Withdrawn"}, {ProposalState::REJECTED, "Rejected"}, {ProposalState::FAILED, "Failed"}, {ProposalState::DROPPED, "Dropped"}}) |
| |
| | DECLARE_JSON_ENUM (ServiceStatus, {{ServiceStatus::OPENING, "Opening"}, {ServiceStatus::OPEN, "Open"}, {ServiceStatus::WAITING_FOR_RECOVERY_SHARES, "WaitingForRecoveryShares"}, {ServiceStatus::RECOVERING, "Recovering"}}) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (ServiceInfo) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ServiceInfo, cert, status) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (ServiceInfo, previous_service_identity_version, recovery_count, service_data, current_service_create_txid) |
| |
| | DECLARE_JSON_TYPE (UVMEndorsementsData) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (UVMEndorsementsData, svn) |
| |
| void | to_json (nlohmann::json &j, const TxID &tx_id) |
| |
| void | from_json (const nlohmann::json &j, TxID &tx_id) |
| |
| std::string | schema_name (const TxID *) |
| |
| void | fill_json_schema (nlohmann::json &schema, const TxID *) |
| |
| constexpr char const * | tx_status_to_str (TxStatus status) |
| |
| | DECLARE_JSON_ENUM (TxStatus, {{TxStatus::Unknown, tx_status_to_str(TxStatus::Unknown)}, {TxStatus::Pending, tx_status_to_str(TxStatus::Pending)}, {TxStatus::Committed, tx_status_to_str(TxStatus::Committed)}, {TxStatus::Invalid, tx_status_to_str(TxStatus::Invalid)}}) |
| |
| std::unique_ptr< ccf::endpoints::EndpointRegistry > | make_user_endpoints_impl (ccf::AbstractNodeContext &context) |
| |
| bool | is_valid_actor (const std::string &actor) |
| |
| constexpr auto | get_actor_prefix (ActorsType at) |
| |
| void | initialize_verifiers () |
| |
| void | shutdown_verifiers () |
| |
| std::string | get_combined_schema_name (const AllOfAuthnPolicy::Policies &policies) |
| |
| template<typename In , typename Out > |
| endpoints::EndpointFunction | grpc_adapter (const GrpcEndpoint< In, Out > &f) |
| |
| template<typename In , typename Out > |
| endpoints::ReadOnlyEndpointFunction | grpc_read_only_adapter (const GrpcReadOnlyEndpoint< In, Out > &f) |
| |
| template<typename In , typename Out > |
| endpoints::CommandEndpointFunction | grpc_command_adapter (const GrpcCommandEndpoint< In, Out > &f) |
| |
| template<typename In , typename Out > |
| endpoints::CommandEndpointFunction | grpc_command_unary_stream_adapter (const GrpcCommandUnaryStreamEndpoint< In, Out > &f) |
| |
| std::shared_ptr<::http::HttpRpcContext > | make_rpc_context (std::shared_ptr< ccf::SessionContext > s, const std::vector< uint8_t > &packed) |
| |
| std::shared_ptr<::http::HttpRpcContext > | make_fwd_rpc_context (std::shared_ptr< ccf::SessionContext > s, const std::vector< uint8_t > &packed, ccf::FrameFormat frame_format) |
| |
| std::vector< ccf::js::FFIPlugin > | __attribute__ ((weak)) get_js_plugins() |
| |
| LedgerSecretPtr | make_ledger_secret () |
| |
| std::vector< uint8_t > | decrypt_previous_ledger_secret_raw (const LedgerSecretPtr &ledger_secret, const std::vector< uint8_t > &encrypted_previous_secret_raw) |
| |
| void | reset_data (std::vector< uint8_t > &data) |
| |
| bool | verify_enclave_measurement_against_uvm_endorsements (ccf::kv::ReadOnlyTx &tx, const pal::PlatformAttestationMeasurement "e_measurement, const std::vector< uint8_t > &uvm_endorsements) |
| |
| QuoteVerificationResult | verify_enclave_measurement_against_store (ccf::kv::ReadOnlyTx &tx, const pal::PlatformAttestationMeasurement "e_measurement, const QuoteFormat "e_format, const std::optional< std::vector< uint8_t > > &uvm_endorsements=std::nullopt) |
| |
| QuoteVerificationResult | verify_quoted_node_public_key (const std::vector< uint8_t > &expected_node_public_key, const ccf::crypto::Sha256Hash "ed_hash) |
| |
| QuoteVerificationResult | verify_host_data_against_store (ccf::kv::ReadOnlyTx &tx, const QuoteInfo "e_info) |
| |
| | DECLARE_JSON_TYPE (FullMemberDetails) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (FullMemberDetails, status, member_data, cert, public_encryption_key) |
| |
| | DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (Quote) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (Quote, node_id, raw, endorsements, format) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (Quote, mrenclave, uvm_endorsements) |
| |
| | DECLARE_JSON_TYPE (GetQuotes::Out) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (GetQuotes::Out, quotes) |
| |
| | DECLARE_JSON_TYPE (NodeMetrics) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeMetrics, sessions) |
| |
| | DECLARE_JSON_TYPE (JavaScriptMetrics) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (JavaScriptMetrics, bytecode_size, bytecode_used, max_heap_size, max_stack_size, max_execution_time, max_cached_interpreters) |
| |
| | DECLARE_JSON_TYPE (SetJwtPublicSigningKeys) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (SetJwtPublicSigningKeys, issuer, jwks) |
| |
| | DECLARE_JSON_TYPE (ConsensusNodeConfig) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ConsensusNodeConfig, address) |
| |
| | DECLARE_JSON_TYPE (ConsensusConfigDetails) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (ConsensusConfigDetails, details) |
| |
| | DECLARE_JSON_TYPE (SelfSignedNodeCertificateInfo) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (SelfSignedNodeCertificateInfo, self_signed_certificate) |
| |
| | DECLARE_JSON_TYPE (GetServicePreviousIdentity::Out) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (GetServicePreviousIdentity::Out, previous_service_identity) |
| |
| | DECLARE_JSON_TYPE (UVMEndorsements) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (UVMEndorsements, did, feed, svn) |
| |
| bool | matches_uvm_roots_of_trust (const UVMEndorsements &endorsements, const std::vector< UVMEndorsements > &uvm_roots_of_trust) |
| |
| std::shared_ptr< ccf::kv::Store > | make_store () |
| |
| | DECLARE_JSON_TYPE (BackupSignatures) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (BackupSignatures, view, seqno, root, signatures) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (ServiceConfiguration, consensus, reconfiguration_type, maximum_node_certificate_validity_days, maximum_service_certificate_validity_days, recent_cose_proposals_window_size) using Configuration |
| |
| | DECLARE_JSON_TYPE (NodeSignature) |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (NodeSignature, sig, node, hashed_nonce) |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (EncryptedLedgerSecret, previous_secret_stored_version) using EncryptedLedgerSecrets |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (RecoverySharesInfo, wrapped_latest_ledger_secret, encrypted_shares) DECLARE_JSON_OPTIONAL_FIELDS(RecoverySharesInfo |
| |
| | DECLARE_JSON_REQUIRED_FIELDS (PreviousLedgerSecretInfo, encrypted_data, version) DECLARE_JSON_OPTIONAL_FIELDS(PreviousLedgerSecretInfo |
| |
| | DECLARE_JSON_OPTIONAL_FIELDS (EncryptedLedgerSecretInfo, previous_ledger_secret, next_version) using RecoveryShares |
| |
| | DECLARE_JSON_TYPE_WITH_BASE_AND_OPTIONAL_FIELDS (PrimarySignature, NodeSignature) DECLARE_JSON_REQUIRED_FIELDS(PrimarySignature |
| |
| root | DECLARE_JSON_OPTIONAL_FIELDS (PrimarySignature, cert) |
| |
| std::optional< ccf::ClaimsDigest::Digest > | get_create_tx_claims_digest (ccf::kv::ReadOnlyTx &tx) |
| |
Defines static instances of common framework-provided authentication policies, to be used freely by other apps.