Rudiments
|
#include <tls.h>
Inherits object.
Public Member Functions | |
tlscertificate () | |
~tlscertificate () | |
uint32_t | getVersion () |
uint64_t | getSerialNumber () |
const char * | getSignatureAlgorithm () |
const char * | getIssuer () |
datetime * | getValidFrom () |
datetime * | getValidTo () |
const char * | getSubject () |
const char * | getCommonName () |
const char * | getPublicKeyAlgorithm () |
const byte_t * | getPublicKey () |
uint64_t | getPublicKeyByteSize () |
uint64_t | getPublicKeyBitSize () |
linkedlist< char * > * | getSubjectAlternateNames () |
Public Member Functions inherited from object | |
virtual | ~object () |
The tlscertificate class provides methods for inspecting TLS certificates.
tlscertificate::tlscertificate | ( | ) |
Creates a new instance of the tlscertificate class.
tlscertificate::~tlscertificate | ( | ) |
Deletes this instance of the tlscertificate class.
Returns the public key algorithm from the certificate.
uint64_t tlscertificate::getPublicKeyBitSize | ( | ) |
Returns the size of the public key, in bits, from the certificate.
uint64_t tlscertificate::getPublicKeyByteSize | ( | ) |
Returns the size of the public key, in bytes, from the certificate.
uint64_t tlscertificate::getSerialNumber | ( | ) |
Returns the serial number from the certificate.
Returns the signature algorithm from the certificate.
linkedlist< char * > * tlscertificate::getSubjectAlternateNames | ( | ) |
Returns the subject alternate names from the certificate.
datetime * tlscertificate::getValidFrom | ( | ) |
Returns the date the at the certificate is valid from.
datetime * tlscertificate::getValidTo | ( | ) |
Returns the date the at the certificate is valid to.
uint32_t tlscertificate::getVersion | ( | ) |
Returns the version from the certificate.