MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / fromDecodedServerResponse

Method fromDecodedServerResponse

src/crypto/PublicKey.cpp:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 PublicKey PublicKey::fromDecodedServerResponse(QByteArray const& response) {
59 PublicKey pk;
60 pk.publicKey = response.left(Key::getPublicKeyLength());
61 pk.calculateFingerprintFromPublicKey();
62 return pk;
63 }
64
65 PublicKey PublicKey::fromHexString(QString const& hexString) {
66 PublicKey pk;

Callers

nothing calls this directly

Tested by

no test coverage detected