EAC ASN.1 Objects
This class represents CVC EAC Time objects. It only models year, month and day. Only limited sanity checks of the inputted date value are performed.
Return a string representation of the time
Get a this objects value as a readable formatted string.
Find out whether this object's values have been set.
Compare this to another EACTime object.
Set this' value by a human readable string
string time_str | a string in the format "yyyy mm dd", e.g. "2007 08 01" |
Add the specified number of years to this.
uint years | the number of years to add |
Add the specified number of months to this.
uint months | the number of months to add |
Get the year value of this objects.
Get the month value of this objects.
Get the day value of this objects.
This class represents CVC CEDs. Only limited sanity checks of the inputted date value are performed.
Construct a CED from a string value.
string str | a string in the format "yyyy mm dd", e.g. "2007 08 01" |
Construct a CED from a time point
Copy constructor (for general EACTime objects).
EACTime other | the object to copy from |
This class represents CVC CEXs. Only limited sanity checks of the inputted date value are performed.
Construct a CEX from a string value.
string str | a string in the format "yyyy mm dd", e.g. "2007 08 01" |
Base class for car/chr of cv certificates.
This class represents CARs of CVCs. (String tagged with 2)
Create a CAR with the specified content.
string str | the CAR value |
This class represents CHRs of CVCs (tag 32)
Create a CHR with the specified content.
string str | the CHR value |