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

Public Member Functions

std::string fingerprint (const DrvOutput &key) const
Signature sign (const DrvOutput &key, const Signer &) const
void sign (const DrvOutput &key, const Signer &)
bool checkSignature (const DrvOutput &key, const PublicKeys &publicKeys, const Signature &sig) const
size_t checkSignatures (const DrvOutput &key, const PublicKeys &publicKeys) const
bool isCompatibleWith (const UnkeyedRealisation &other) const
const StorePath & getPath () const
 GENERATE_CMP (UnkeyedRealisation, me->outPath)

Public Attributes

StorePath outPath
std::set< Signature > signatures

Member Function Documentation

◆ isCompatibleWith()

bool nix::UnkeyedRealisation::isCompatibleWith ( const UnkeyedRealisation & other) const
inline

Just check the outPath. Signatures don't matter for this. Callers must ensure that the corresponding key is the same for most use-cases.

◆ sign() [1/2]

void nix::UnkeyedRealisation::sign ( const DrvOutput & key,
const Signer & signer )

Inserts the new signature into the set of stored ones

◆ sign() [2/2]

Signature nix::UnkeyedRealisation::sign ( const DrvOutput & key,
const Signer & signer ) const

Returns a signature but does not modify the stored signatures


The documentation for this struct was generated from the following files: