nn::ssl::CrlStore::RegisterCrl Member Functionnn::Result RegisterCrl( const u8 * pCrlData, size_t crlDatasize, CrlId * pCrlIdCourier = NULL );
| Name | Description | |
|---|---|---|
| in | pCrlData | CRL data. The data format is X.509 v2 CRL data (ASN.1 definition) that has been DER-encoded to binary data. |
| in | crlDatasize | Size of pCrlData. |
| out | pCrlIdCourier | Used when unregistering a specific individual certificate by its registered CRL ID (using the UnRegisterCrl function). If this argument is not needed (such as when there is no need to unregister individual CRLs; releasing a CrlStore object unregisters all of its CRLs at once), this can be left unspecified. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultFailToCreateCrlStoreErr | Error indicating that creation of the CRL store failed. The function returns this value when Initialize has not yet been called. When using this class, always run Initialize after instantiation. It may also be returned if the the total number of CRLs registered in the SSL library is already at the maximum allowed by the system, or in other similar situations. In some cases, subsequent attempts to run this function again may succeed if you either unregister CRLs that you have registered or wait a while and try again. (The latter approach will work if a CRL that was registered by another module is unregistered during the wait time). |
| ResultNotInitializedErr | Error indicating that the library is not initialized. None of the functions in this library can be run without first running nn::ssl::Initialize. |
| A value other than the above. | Unexpected error (see ssl_Result.h for error details). |
Registers a CRL. Call this function multiple times to register multiple CRLs.
CONFIDENTIAL