Name | Lookup | Parameters | |
---|---|---|---|
register_sgx_enclave | 3200 | 3 | |
unregister_sovereign_enclave | 3201 | 1 | |
unregister_proxied_enclave | 3202 | 1 | |
register_quoting_enclave | 3203 | 3 | |
register_tcb_info | 3204 | 3 | |
set_security_flags | 3205 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
AddedSgxEnclave | 3200 | ["AccountId","Option<Vec<u8>>","Option<SgxStatus>","SgxAttestationMethod"] | |
RemovedSovereignEnclave | 3201 | ["AccountId"] | |
RemovedProxiedEnclave | 3202 | ["EnclaveInstanceAddress<AccountId>"] | |
SgxTcbInfoRegistered | 3203 | ["Fmspc","SgxTcbInfoOnChain"] | |
SgxQuotingEnclaveRegistered | 3204 | ["SgxQuotingEnclave"] | |
UpdatedSecurityFlags | 3205 | ["bool","bool"] |
Name | Type | |
---|---|---|
SovereignEnclaves | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["AccountId"],"value":"teerex_primitives:MultiEnclave","keys_id":0,"value_id":416}} | |
ProxiedEnclaves | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["teerex_primitives:EnclaveInstanceAddress"],"value":"teerex_primitives:MultiEnclave","keys_id":126,"value_id":416}} | |
SgxQuotingEnclaveRegistry | {"origin":"PlainType","plain_type":"teerex_primitives:SgxQuotingEnclave","PlainTypeValue":139} | |
SgxTcbInfo | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 6]"],"value":"teerex_primitives:SgxTcbInfoOnChain","keys_id":134,"value_id":135}} | |
SgxAllowDebugMode | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":54} | |
AllowSkippingAttestation | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":54} |
Name | Type | Value | |
---|---|---|---|
MomentsPerDay | U64 | 005c260500000000 | |
MaxAttestationRenewalPeriod | U64 | 00b84c0a00000000 |
Name | Docs |
---|---|
EnclaveSignerDecodeError | Failed to decode enclave signer. |
SenderIsNotAttestedEnclave | Sender does not match attested enclave in report. |
RemoteAttestationVerificationFailed | Verifying RA report failed. |
RemoteAttestationIsTooOld | IAS remote attestation is too old |
SgxModeIsNotAllowed | The enclave cannot attest, because its building mode is not allowed. |
EnclaveIsNotRegistered | The enclave is not registered. |
EnclaveUrlIsTooLong | The worker url is too long. |
RaProofIsTooLong | The Remote Attestation proof is too long. |
EmptyEnclaveRegistry | No enclave is registered. |
CollateralIsInvalid | The provided collateral data is invalid |
UnregisterActiveEnclaveIsNotAllowed | It is not allowed to unregister enclaves with recent activity |
SkippingAttestationIsNotAllowed | skipping attestation not allowed by configuration |
MissingTcbInfoForFmspc | No TCB info could be found onchain for the examinee's fmspc |
TcbInfoIsOutdated | Either the enclave TCB has outdated status or the onchain TCB collateral is outdated |
OtherSgxVerifyError | An error originating in the sgx_verify crate |
CaVerificationFailed | |
CertificateChainIsInvalid | |
CertificateChainIsTooShort | |
CpuSvnDecodingError | |
CpuSvnLengthMismatch | |
CpuSvnOidIsMissing | |
DcapKeyTypeMismatch | |
DcapQuoteDecodingError | |
DcapQuoteIsTooLong | |
DcapQuoteVersionMismatch | |
DerEncodingError | |
EnclaveIdentityDecodingError | |
EnclaveIdentitySignatureIsInvalid | |
FmspcDecodingError | |
FmspcLengthMismatch | |
FmspcOidIsMissing | |
IntelExtensionAmbiguity | |
IntelExtensionCertificateDecodingError | |
IsvEnclaveReportSignatureIsInvalid | |
KeyLengthIsInvalid | |
LeafCertificateParsingError | |
NetscapeDecodingError | |
NetscapeDerError | |
PceSvnDecodingError | |
PceSvnLengthMismatch | |
PceSvnOidIsMissing | |
PckCertFormatMismatch | |
PublicKeyIsInvalid | |
QeHasRejectedEnclave | |
QeReportHashMismatch | |
QuoteBodyDecodingError | |
QuoteBodyIsInvalid | |
QuoteBodyMissing | |
QuoteStatusMissing | |
RsaSignatureIsInvalid | |
SgxReportParsingError | |
TcbInfoIsInvalid | |
TimestampIsInvalid | |
TimestampIsMissing |