Ssl::Certificate Class Referenceabstract
Implemented by SSL adapter to handle certificate operations. More...
#include <Certificate.h>
Public Types | |
enum class | DN { ISSUER , SUBJECT } |
Distinguished Name type. More... | |
enum class | RDN { XX , MAX } |
Relative Distinguished Name type identifying a name component. More... | |
Public Member Functions | |
virtual | ~Certificate () |
virtual bool | getFingerprint (Fingerprint::Type type, Fingerprint &fingerprint) const =0 |
Obtain certificate fingerprint. More... | |
virtual String | getName (DN dn, RDN rdn) const =0 |
Retrieve an X.509 distinguished name component. More... | |
size_t | printTo (Print &p) const |
Debugging print support. More... | |
Detailed Description
Implemented by SSL adapter to handle certificate operations.
Member Enumeration Documentation
◆ DN
|
strong |
◆ RDN
|
strong |
Constructor & Destructor Documentation
◆ ~Certificate()
|
inlinevirtual |
Member Function Documentation
◆ getFingerprint()
|
pure virtual |
Obtain certificate fingerprint.
- Parameters
-
type Which type of fingerprint to return fingerprint On success, returned fingerprint
- Return values
-
bool true on success, false if fingerprint not available
◆ getName()
Retrieve an X.509 distinguished name component.
- Parameters
-
dn The desired Distinguished Name rdn The component to return
- Return values
-
String The requested Distinguished Name component
◆ printTo()
size_t Ssl::Certificate::printTo | ( | Print & | p | ) | const |
Debugging print support.
The documentation for this class was generated from the following file: