CCF
Loading...
Searching...
No Matches
Namespaces | Functions
cose_auth.cpp File Reference
#include "ccf/endpoints/authentication/cose_auth.h"
#include "ccf/crypto/cose_verifier.h"
#include "ccf/crypto/public_key.h"
#include "ccf/http_consts.h"
#include "ccf/rpc_context.h"
#include "ccf/service/tables/members.h"
#include "ccf/service/tables/users.h"
#include "node/cose_common.h"
#include <qcbor/qcbor.h>
#include <qcbor/qcbor_spiffy_decode.h>
#include <t_cose/t_cose_sign1_verify.h>

Namespaces

namespace  ccf
 
namespace  ccf::cose
 

Functions

std::pair< ccf::GovernanceProtectedHeader, Signatureccf::cose::extract_governance_protected_header_and_signature (const std::vector< uint8_t > &cose_sign1)
 
std::pair< ccf::TimestampedProtectedHeader, Signatureccf::cose::extract_protected_header_and_signature (const std::vector< uint8_t > &cose_sign1, const std::string &msg_type_name, const std::string &created_at_name)