Offers TLS functionality with self-managed keys.
As opposed to the
CryptoComponent that manages the TLS private keys
itself, this module allows the caller to manage the private keys. This can
e.g. be used by parties that need to connect to Internet Computer nodes via
Since the private keys are self-managed, it is the responsibility of the caller to keep the private key material secure!
A TLS struct couldn't be encoded (as PEM or DER).
A PEM string could not be parsed.
TLS private key
An X.509 certificate
The TLS client handshake failed.
Generates and returns a private key and a self-signed X509 public key certificate.
Transforms a TCP stream into a TLS stream by performing a TLS client handshake.