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

Method SetPublic

extra/yassl/src/crypto_wrapper.cpp:558–562  ·  view source on GitHub ↗

Decode and store the public key

Source from the content-addressed store, hash-verified

556
557// Decode and store the public key
558void DSS::DSSImpl::SetPublic(const byte* key, unsigned int sz)
559{
560 TaoCrypt::Source source(key, sz);
561 publicKey_.Initialize(source);
562}
563
564
565// Decode and store the public key

Callers 2

DSSMethod · 0.80
RSAMethod · 0.80

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected