11namespace fc {
namespace crypto {
26 using storage_type = std::variant<ecc::public_key_shim, r1::public_key_shim, webauthn::public_key, em::public_key_shim>;
63 void from_variant(
const variant& var, crypto::public_key& vo);
public_key(const public_key &)=default
friend bool operator!=(const public_key &p1, const public_key &p2)
public_key(public_key &&)=default
friend bool operator<(const public_key &p1, const public_key &p2)
std::variant< ecc::public_key_shim, r1::public_key_shim, webauthn::public_key, em::public_key_shim > storage_type
public_key & operator=(const public_key &)=default
friend bool operator==(const public_key &p1, const public_key &p2)
public_key(storage_type &&other_storage)
friend std::ostream & operator<<(std::ostream &s, const public_key &k)
std::string to_string(const fc::yield_function_t &yield=fc::yield_function_t()) const
constexpr const char * public_key_base_prefix
constexpr const char * public_key_prefix[]
constexpr const char * public_key_legacy_prefix
fc::sha256 digest(const T &value)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
defines visit functions for T Unless this is specialized, visit() will not be defined for T.