MCPcopy Create free account
hub / github.com/SmingHub/Sming / printTo

Method printTo

Sming/Components/ssl/src/Session.cpp:216–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216size_t Session::printTo(Print& p) const
217{
218 size_t n = 0;
219
220 n += p.println(_F("SSL Session:"));
221 n += p.print(_F(" Options: "));
222 n += p.println(toString(options));
223 n += p.print(_F(" Host name: "));
224 n += p.println(hostName);
225 n += p.print(_F(" Cache Size: "));
226 n += p.println(cacheSize);
227 n += p.print(_F(" Max Buffer Size: "));
228 n += p.println(maxBufferSizeToBytes(maxBufferSize));
229 n += p.print(_F(" Validators: "));
230 n += p.println(validators.count());
231 n += p.print(_F(" Cert Length: "));
232 n += p.println(keyCert.getCertificateLength());
233 n += p.print(_F(" Cert PK Length: "));
234 n += p.println(keyCert.getKeyLength());
235 if(connection) {
236 n += connection->printTo(p);
237 }
238
239 return n;
240}
241
242}; // namespace Ssl

Callers

nothing calls this directly

Calls 7

maxBufferSizeToBytesFunction · 0.85
printlnMethod · 0.80
getCertificateLengthMethod · 0.80
getKeyLengthMethod · 0.80
toStringFunction · 0.70
printMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected