#include <elliptic_webauthn.hpp>
Definition at line 74 of file elliptic_webauthn.hpp.
◆ data_type
using fc::crypto::webauthn::signature::data_type = signature |
◆ signature() [1/2]
fc::crypto::webauthn::signature::signature |
( |
| ) |
|
|
inline |
◆ signature() [2/2]
Definition at line 81 of file elliptic_webauthn.hpp.
81 :
82 compact_signature(
s), auth_data(
a), client_json(
j) {}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
◆ get_hash()
size_t fc::crypto::webauthn::signature::get_hash |
( |
| ) |
const |
|
inline |
Definition at line 103 of file elliptic_webauthn.hpp.
103 {
104 return *(
size_t*)&compact_signature.
data[32-
sizeof(
size_t)] + *(
size_t*)&compact_signature.
data[64-
sizeof(
size_t)];
105 }
◆ operator<()
bool fc::crypto::webauthn::signature::operator< |
( |
const signature & | o | ) |
const |
|
inline |
Definition at line 98 of file elliptic_webauthn.hpp.
98 {
99 return std::tie(compact_signature, auth_data, client_json) < std::tie(o.compact_signature, o.auth_data, o.client_json);
100 }
◆ operator==()
bool fc::crypto::webauthn::signature::operator== |
( |
const signature & | o | ) |
const |
|
inline |
Definition at line 92 of file elliptic_webauthn.hpp.
92 {
93 return compact_signature == o.compact_signature &&
94 auth_data == o.auth_data &&
95 client_json == o.client_json;
96 }
◆ recover()
public_key fc::crypto::webauthn::signature::recover |
( |
const sha256 & | digest, |
|
|
bool | check_canonical ) const |
|
inline |
◆ serialize()
signature fc::crypto::webauthn::signature::serialize |
( |
| ) |
const |
|
inline |
◆ variable_size()
size_t fc::crypto::webauthn::signature::variable_size |
( |
| ) |
const |
|
inline |
◆ fc::reflector< signature >
◆ public_key
The documentation for this class was generated from the following file: