Rudiments
|
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.
const char* tlscertificate::getCommonName | ( | ) |
Returns the common name from the certificate.
const char* tlscertificate::getIssuer | ( | ) |
Returns the issuer from the certificate.
const byte_t* tlscertificate::getPublicKey | ( | ) |
Returns the public key from the certificate.
const char* tlscertificate::getPublicKeyAlgorithm | ( | ) |
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.
const char* tlscertificate::getSignatureAlgorithm | ( | ) |
Returns the signature algorithm from the certificate.
const char* tlscertificate::getSubject | ( | ) |
Returns the subject 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.