Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::SecretKey Struct Reference
Inheritance diagram for nix::SecretKey:
nix::Key

Public Member Functions

 SecretKey (std::string_view s)
Signature signDetached (std::string_view s) const
PublicKey toPublicKey () const
Public Member Functions inherited from nix::Key
std::string to_string () const

Static Public Member Functions

static SecretKey generate (std::string_view name)

Additional Inherited Members

Public Attributes inherited from nix::Key
std::string name
std::string key
Protected Member Functions inherited from nix::Key
 Key (std::string_view s, bool sensitiveValue)
 Key (std::string_view name, std::string &&key)

Member Function Documentation

◆ signDetached()

Signature nix::SecretKey::signDetached ( std::string_view s) const

Return a detached signature of the given string.


The documentation for this struct was generated from the following files:
  • libutil/include/nix/util/signature/local-keys.hh
  • libutil/signature/local-keys.cc