libfilezilla
Public Types | Public Member Functions | Static Public Member Functions | List of all members
private_signing_key Class Reference

Represents a private key to sign message with using Ed25519. More...

#include <signature.hpp>

Public Types

enum  { key_size = 32 }
 

Public Member Functions

 operator bool () const
 
public_verification_key pubkey () const
 Gets the public key corresponding to the private key.
 
std::vector< uint8_t > const & data () const
 
std::string to_base64 () const
 

Static Public Member Functions

static private_signing_key generate ()
 Generates a random private key.
 
static private_signing_key from_base64 (std::string_view const &base64)
 

Detailed Description

Represents a private key to sign message with using Ed25519.

See also
public_verification_key

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