CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::UserCOSESign1AuthnIdentity Struct Reference

#include <cose_auth.h>

Inherits ccf::COSESign1AuthnIdentity.

Public Member Functions

 UserCOSESign1AuthnIdentity (const std::span< const uint8_t > &content_, const std::span< const uint8_t > &envelope_, const std::span< const uint8_t > &signature_, const UserId &user_id_, const ccf::crypto::Pem &user_cert_, const TimestampedProtectedHeader &protected_header_)
 
- Public Member Functions inherited from ccf::COSESign1AuthnIdentity
 COSESign1AuthnIdentity (const std::span< const uint8_t > &content_, const std::span< const uint8_t > &envelope_, const std::span< const uint8_t > &signature_)
 
 COSESign1AuthnIdentity ()=default
 
- Public Member Functions inherited from ccf::AuthnIdentity
virtual ~AuthnIdentity ()=default
 

Public Attributes

UserId user_id
 
ccf::crypto::Pem user_cert
 
TimestampedProtectedHeader protected_header
 
- Public Attributes inherited from ccf::COSESign1AuthnIdentity
std::span< const uint8_t > content
 
std::span< const uint8_t > envelope
 
std::span< const uint8_t > signature
 

Constructor & Destructor Documentation

◆ UserCOSESign1AuthnIdentity()

ccf::UserCOSESign1AuthnIdentity::UserCOSESign1AuthnIdentity ( const std::span< const uint8_t > &  content_,
const std::span< const uint8_t > &  envelope_,
const std::span< const uint8_t > &  signature_,
const UserId user_id_,
const ccf::crypto::Pem user_cert_,
const TimestampedProtectedHeader protected_header_ 
)
inline

Member Data Documentation

◆ protected_header

TimestampedProtectedHeader ccf::UserCOSESign1AuthnIdentity::protected_header

COSE Protected Header

◆ user_cert

ccf::crypto::Pem ccf::UserCOSESign1AuthnIdentity::user_cert

User certificate, used to sign this request, described by keyId

◆ user_id

UserId ccf::UserCOSESign1AuthnIdentity::user_id

CCF user ID


The documentation for this struct was generated from the following file: