| 214 | } |
| 215 | |
| 216 | size_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 |
nothing calls this directly
no test coverage detected