- name = pki:getCipherSuite()
- result = pki:info()
SYNOPSIS
DESCRIPTION
pki:getCipherSuite() returns the name of the cipher used by the stored key, e.g. "RSA".
The pki:info() function returns a table with basic information about the stored key.
The table contains the information: keysize = Number of bits in the key, ciphersuite = Type of cipher, e.g. "RSA", padding = Type of padding, hash = Type of hash.
RETURN VALUE
On success, returns true.
In case of an error returns three values: nil, a string describing the error and a negative error code from the underlying mbed TLS implementation.