PLCnext API Documentation 23.6.0.37
|
Helper class to handle ASN1Time objects in x.509 Certificates More...
#include <Asn1Time.hpp>
Public Member Functions | |
Asn1Time (void) | |
Constructs an empty Asn1Time instance. | |
Asn1Time (const Asn1Time &arg) | |
Copy constructor. | |
Asn1Time (const ASN1_TIME *arg) | |
Copy constructur. | |
~Asn1Time (void) | |
Destructs this instance and frees all resources. | |
Asn1Time & | operator= (const Asn1Time &arg) |
Assignment operator. | |
Asn1Time & | operator= (const ASN1_TIME *arg) |
operator ASN1_TIME * () const | |
operator DateTime () const | |
String | GetTypeAsString (void) const |
Return the type of the Internal ASN1_TIME object as String More... | |
bool | Set (const DateTime &time) |
Sets this Ans1Time from a DateTime More... | |
DateTime | ToDateTime (void) const |
Converts this object to DataTime DateTime More... | |
String | ToString (void) const |
Converts this object to String DateTime More... | |
String | ToIso8601String (void) const |
Converts this object to an ISO8601 formated String DateTime More... | |
Static Public Member Functions | |
static DateTime | Asn1TimeToDateTime (const ASN1_TIME *pTime) |
Converst an OpenSSL ASN1_TIME object to DataTime DateTime More... | |
static String | Asn1TimeToIso8601String (const ASN1_TIME *pTime) |
Converst an OpenSSL ASN1_TIME object to an ISO8601 formated String DateTime More... | |
Protected Attributes | |
ASN1_TIME * | internalAsn1Time |
Helper class to handle ASN1Time objects in x.509 Certificates
|
static |
|
static |
Converst an OpenSSL ASN1_TIME object to an ISO8601 formated String DateTime
pTime | Pointer to an ASN_TIME object from OpenSSL |
String Arp::System::Commons::Security::Asn1Time::GetTypeAsString | ( | void | ) | const |
Return the type of the Internal ASN1_TIME object as String
bool Arp::System::Commons::Security::Asn1Time::Set | ( | const DateTime & | time | ) |
|
inline |
|
inline |
Converts this object to an ISO8601 formated String DateTime
String Arp::System::Commons::Security::Asn1Time::ToString | ( | void | ) | const |
Converts this object to String DateTime