Libraries
bignum
binary
bitmap
ble
bytes
core
crypto
device
encoding
esp32
expect
fixed-point
flash
font
gpio
i2c
i2s
icons
io
line-wrap
log
math
monitor
net
pulse-counter
reader
reader-writer
rmt
serial
spi
statistics
system
tls
certificate
session
socket
uart
uuid
writer
zlib
Library certificate
To use this library in your code:
import tls.certificate
Classes
Certificate
TLS Certificate used as identity in a TLS session.
RootCertificate
Trusted Root TLS Certificate used to verify a server's identity.
Functions
use-system-trusted-root-certificates
->
none
Adds the trusted root certificates that are installed on the system.
This is only supported on Windows. On other platforms it currently does nothing.
This need only be called once, then it is available for all TLS connections.
Like
RootCertificate.install
, this function is an alternative to adding root certificates to individual TLS sockets.