#[repr(i64)]pub enum EatClaimKey {
Show 22 variants
Iat = 6,
Nonce = 10,
Ueid = 256,
Sueids = 257,
OemId = 258,
HwModel = 259,
HwVersion = 260,
Uptime = 261,
OemBoot = 262,
DbgStat = 263,
Location = 264,
EatProfile = 265,
Submods = 266,
BootCount = 267,
BootSeed = 268,
Dloas = 269,
SwName = 270,
SwVersion = 271,
Manifests = 272,
Measurements = 273,
MeasRes = 274,
IntUse = 275,
}Expand description
CWT / EAT claim key integers as registered by RFC 9711.
Standard JWT/CWT claims that predate EAT (e.g., iat = 6) are included
for completeness. The RFC 9711-specific claims start at key 10 (Nonce)
and run through 275 (Intended Use).
Variants§
Iat = 6
Issued-At (seconds since epoch). CWT key 6.
Nonce = 10
Nonce – eat_nonce. Key 10. Value: bstr or array.
Ueid = 256
Universal Entity ID – ueid. Key 256. Value: bstr.
Sueids = 257
Semipermanent UEIDs – sueids. Key 257. Value: map.
OemId = 258
Hardware OEM ID – oemid. Key 258. Value: bstr or int.
HwModel = 259
Hardware Model – hwmodel. Key 259. Value: bstr.
HwVersion = 260
Hardware Version – hwversion. Key 260. Value: array.
Uptime = 261
Uptime – uptime. Key 261. Value: uint.
OemBoot = 262
OEM Authorized Boot – oemboot. Key 262. Value: bool.
DbgStat = 263
Debug Status – dbgstat. Key 263. Value: uint.
Location = 264
Location – location. Key 264. Value: map.
EatProfile = 265
EAT Profile – eat_profile. Key 265. Value: uri or oid.
Submods = 266
Submodules Section – submods. Key 266. Value: map.
BootCount = 267
Boot Count – bootcount. Key 267. Value: uint.
BootSeed = 268
Boot Seed – bootseed. Key 268. Value: bstr.
Dloas = 269
DLOAs (Digital Letters of Approval) – dloas. Key 269. Value: array.
SwName = 270
Software Name – swname. Key 270. Value: tstr.
SwVersion = 271
Software Version – swversion. Key 271. Value: array.
Manifests = 272
Software Manifests – manifests. Key 272. Value: array.
Measurements = 273
Measurements – measurements. Key 273. Value: array.
MeasRes = 274
Software Measurement Results – measres. Key 274. Value: array.
IntUse = 275
Intended Use – intuse. Key 275. Value: uint.
Trait Implementations§
Source§impl Clone for EatClaimKey
impl Clone for EatClaimKey
impl Copy for EatClaimKey
Source§impl Debug for EatClaimKey
impl Debug for EatClaimKey
impl Eq for EatClaimKey
Source§impl From<EatClaimKey> for i64
Converts a claim key into its integer CBOR map key.
impl From<EatClaimKey> for i64
Converts a claim key into its integer CBOR map key.
Source§fn from(k: EatClaimKey) -> i64
fn from(k: EatClaimKey) -> i64
Returns the numeric key of k.