Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
crypto.hh File Reference
#include <map>
#include <string>

Go to the source code of this file.

Classes

struct  nix::Key
struct  nix::SecretKey
struct  nix::PublicKey

Typedefs

typedef std::map< std::string, PublicKeynix::PublicKeys

Functions

bool nix::verifyDetached (const std::string &data, const std::string &sig, const PublicKeys &publicKeys)
PublicKeys nix::getDefaultPublicKeys ()

Function Documentation

◆ verifyDetached()

bool nix::verifyDetached ( const std::string & data,
const std::string & sig,
const PublicKeys & publicKeys )
Returns
true iff ‘sig’ is a correct signature over ‘data’ using one of the given public keys.