MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / GetKey

Method GetKey

src/twcrypto/keyfile.cpp:578–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578const cElGamalSigPrivateKey* cPrivateKeyProxy::GetKey() const // throw eKeyFile()
579{
580 if (mpKey == 0)
581 {
582 // This is a programming error
583 ASSERT(false);
584 throw eKeyFileUninitialized(_T("Private Key not initialized"));
585 }
586
587 return mpKey;
588}

Callers 1

GetPrivateKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected