MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / DSS

Method DSS

extra/yassl/src/crypto_wrapper.cpp:576–583  ·  view source on GitHub ↗

Set public or private key

Source from the content-addressed store, hash-verified

574
575// Set public or private key
576DSS::DSS(const byte* key, unsigned int sz, bool publicKey)
577 : pimpl_(NEW_YS DSSImpl)
578{
579 if (publicKey)
580 pimpl_->SetPublic(key, sz);
581 else
582 pimpl_->SetPrivate(key, sz);
583}
584
585
586DSS::~DSS()

Callers

nothing calls this directly

Calls 2

SetPublicMethod · 0.80
SetPrivateMethod · 0.80

Tested by

no test coverage detected