PLCnext API Documentation
22.9.0.33
|
Helper class to handle ASN1Time objects in x.509 Certificates More...
#include <Asn1Time.hpp>
Public Member Functions | |
Asn1Time (void) | |
Constructs an empty Asn1Time instance. More... | |
Asn1Time (const Asn1Time &arg) | |
Copy constructor. More... | |
Asn1Time (const ASN1_TIME *arg) | |
Copy constructur. More... | |
~Asn1Time (void) | |
Destructs this instance and frees all resources. More... | |
Asn1Time & | operator= (const Asn1Time &arg) |
Assignment operator. More... | |
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
Arp::System::Commons::Security::Asn1Time::Asn1Time | ( | void | ) |
Constructs an empty Asn1Time instance.
|
inline |
Copy constructor.
|
inline |
Copy constructur.
Arp::System::Commons::Security::Asn1Time::~Asn1Time | ( | void | ) |
Destructs this instance and frees all resources.
|
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
Assignment operator.
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