Name | Lookup | Parameters | |
|---|---|---|---|
| register_ca | 5400 | 2 | |
| unregister_ca | 5401 | 1 | |
| update_crl | 5402 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| CaRegistered | 5400 | ["CaName"] | |
| CaUnregistered | 5401 | ["CaName"] | |
| CrlUpdated | 5402 | ["CaName","Bytes","u64","u32"] |
Name | Type | |
|---|---|---|
| CertificateAuthorities | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"pallet_crl:pallet:CaInfo","keys_id":463,"value_id":706}} | |
| Revoked | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["Vec<U8>"],"value":"Vec<pallet_crl:pallet:RevokedInfo>","keys_id":463,"value_id":712}} |
Name | Type | Value | |
|---|---|---|---|
| MaxCaNameLength | U32 | 40000000 |
Name | Docs |
|---|---|
| CaNameTooLong | The CA name exceeds the maximum allowed length. |
| CaNameEmpty | The CA name is empty. |
| RootCertEmpty | The root cert for the CA is empty. |
| CaAlreadyRegistered | The CA is already registered. |
| CaNotFound | The CA is not registered. |
| MaxCasReached | Maximum number of CAs reached. |
| RootCertTooLarge | The root certificate exceeds the maximum allowed length. |
| CrlPemTooLarge | The CRL PEM data exceeds the maximum allowed length. |
| CertChainPemTooLarge | The certificate chain PEM data exceeds the maximum allowed length. |
| CrlValidationError | Failed to parse or verify the CRL. |
| TooManyRevokedCerts | Too many revoked certificates in the CRL. |
| IssuerTooLarge | Issuer data exceeds maximum length. |
| SerialNumberTooLarge | Serial number data exceeds maximum length. |
| CrlTooLarge | Crl exceeds maximum length. |
| NotNewerCrl | The updated Crl is older than the one already registered |
| TooManyIssuers | Too many distinct CRL issuers for this CA. |
| EmptyCrl | The CRL contains no revoked certificates. |