CCF
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions
ccf::cose Namespace Reference

Namespaces

namespace  edit
 
namespace  header
 
namespace  utils
 
namespace  value
 

Classes

class  AbstractCOSESignaturesConfig
 
struct  CcfClaims
 
struct  CcfCoseReceipt
 
struct  CcfCoseReceiptPhdr
 
struct  COSEDecodeError
 
struct  COSESignatureValidationError
 
struct  CwtClaims
 
struct  DecomposedCoseSign1
 
struct  Leaf
 
struct  MerkleProof
 
struct  Sign1ProtectedHeader
 

Typedefs

using Signature = std::span< const uint8_t >
 

Functions

std::pair< ccf::GovernanceProtectedHeader, DecomposedCoseSign1extract_governance_protected_header_and_signature (const std::vector< uint8_t > &cose_sign1)
 
std::pair< ccf::TimestampedProtectedHeader, DecomposedCoseSign1extract_protected_header_and_signature (const std::vector< uint8_t > &cose_sign1, const std::string &msg_type_name, const std::string &created_at_name)
 

Typedef Documentation

◆ Signature

using ccf::cose::Signature = typedef std::span<const uint8_t>

Function Documentation

◆ extract_governance_protected_header_and_signature()

std::pair< ccf::GovernanceProtectedHeader, DecomposedCoseSign1 > ccf::cose::extract_governance_protected_header_and_signature ( const std::vector< uint8_t > &  cose_sign1)

◆ extract_protected_header_and_signature()

std::pair< ccf::TimestampedProtectedHeader, DecomposedCoseSign1 > ccf::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 
)