Package-level declarations

Types

Link copied to clipboard

Certificates to identify which peers to trust and also to earn the trust of those peers in kind. Client and server exchange these certificates during the handshake phase of a TLS connection.

Link copied to clipboard
class HeldCertificate(val keyPair: KeyPair, val certificate: X509Certificate)

A certificate and its private key. These are some properties of certificates that are used with TLS:

Functions

Link copied to clipboard

Returns the certificate encoded in PEM format.

Link copied to clipboard

Decodes a multiline string that contains a certificate which is rfc_7468. A typical input string looks like this: