|
pure virtual |
Add the revoked (i.e., invalid) certificate to the CRL.
The revoked certificate is identified by its serial number. This indicates that the invalid certificate should no longer be used for encryption and/or signing of data.
serialNumber | [ in ] A certificate's serial number assigned by the generating CA |
onYear | [ in ] must be > 1900, a component of the date the certificate was revoked |
onMonth | [ in ] { 1 .. 12 }, Jan == 1, Dec == 12 |
onDay | [ in ] { 1 .. 31 }, a value outside of this range results in an error |
onHour | [ in ] { 0 .. 23 }, 24 hour time is used |
onMinute | [ in ] { 0 .. 59 }, |
onSecond | [ in ] { 0 .. 59 }, revocation date is in GMT (onYear,onMonth,onDay,onHour,onMinute,onSecond) |
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidHandle | newCrl has not been called before this function. | |
P6R::eInvalidArg | One of the date parameters (e.g., onYear) is out of range. | |
P6R::eNoMemory | Insufficient memory to to add certificate the CRL. | |
P6R::eInvalidState | Failed to add certificate to the CRL. | |
P6R::eFormatError | Failed to set generated revocation date on the revoked certificate. |