CCF
Loading...
Searching...
No Matches
Namespaces | Functions
helpers.h File Reference
#include "ccf/endpoints/authentication/authentication_types.h"
#include "ccf/endpoints/authentication/cose_auth.h"
#include "node/rpc/gov_logging.h"

Go to the source code of this file.

Namespaces

namespace  ccf
 
namespace  ccf::gov
 
namespace  ccf::gov::endpoints
 
namespace  ccf::gov::endpoints::detail
 

Functions

AuthnPolicies ccf::gov::endpoints::detail::member_sig_only_policies (const std::string &gov_msg_type)
 
AuthnPolicies ccf::gov::endpoints::detail::active_member_sig_only_policies (const std::string &gov_msg_type)
 
template<typename EntityType >
std::optional< EntityType > ccf::gov::endpoints::detail::parse_hex_id (const std::string &s)
 
bool ccf::gov::endpoints::detail::try_parse_member_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::MemberId &member_id)
 
bool ccf::gov::endpoints::detail::try_parse_signed_member_id (const ccf::MemberCOSESign1AuthnIdentity &cose_ident, const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::MemberId &member_id)
 
bool ccf::gov::endpoints::detail::try_parse_user_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::UserId &user_id)
 
bool ccf::gov::endpoints::detail::try_parse_proposal_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::ProposalId &proposal_id)
 
bool ccf::gov::endpoints::detail::try_parse_signed_proposal_id (const ccf::MemberCOSESign1AuthnIdentity &cose_ident, const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::ProposalId &proposal_id)
 
bool ccf::gov::endpoints::detail::try_parse_node_id (const std::shared_ptr< ccf::RpcContext > &rpc_ctx, ccf::NodeId &node_id)