7.7 Leaves

A leaf states that a file has a given content hash. It is issued under a name and requests warrants.

FieldTypeDescription
header6 byteskind is 0x02 (§7.4)
hash_formu8Which bytes content_hash covers (§7.9)
content_hashu8[64]The hash of those bytes
issueru8[64]The object hash of the issuing certificate
name_lenu8Length of name, from 1 through 255
nameu8[name_len]The name the leaf is issued under
warrant_countu8The number of warrants
warrantsVariableThat many warrants (§7.5)
signatureBy the issuer's key typeSignature over every preceding byte

7.7.1 Name #

A leaf's name says who vouches for the file. It has the form of a Namespace name other than . (§7.5), and MUST be within a name of the issuing certificate's Name warrant.

Unlike a certificate's name, a leaf's name is bounded by the chain, so a consumer can rely on it: a leaf named scanner.example.com was issued by an authority that its own issuers allowed to sign for example.com.

7.7.2 Warrants #

A leaf's warrants are the powers its signer asks for on behalf of the file. They narrow against the issuing certificate as §7.5 requires, so a leaf never holds a warrant its issuer lacks. A leaf MUST NOT hold Delegate, Name, or Revoke.

A signer SHOULD request only what the file needs. A leaf that requests every warrant its issuer holds gives each consumer more to act on than the signer meant, and a signer that issues one certificate for many kinds of file is the case where this matters.

7.7.3 What a leaf does not hold #

A leaf holds no key, no time of signing, and no period of validity. A verifier applies no clock to any object (§7.14).

Edit this page