Expand description
Sealed-invocation plaintext body schemas and the basil content-type registry.
Envelope canonicalization moved to the basil-cose strict COSE profile;
this module owns what stays basil-specific: the registered COSE content
types (RFC 9052 protected header 3) that select a plaintext body schema,
the deterministic CBOR body codecs, and InvocationStatus.
Structs§
- Invocation
Status - Status carried inside encrypted invocation response bodies.
- Mint
JwtInvocation Request - CBOR body selected by
CONTENT_TYPE_MINT_JWT_REQUEST. - Mint
JwtInvocation Response - CBOR body selected by
CONTENT_TYPE_MINT_JWT_RESPONSE. - Mint
Nats User Invocation Request - CBOR body selected by
CONTENT_TYPE_MINT_NATS_USER_REQUEST. - Mint
Nats User Invocation Response - CBOR body selected by
CONTENT_TYPE_MINT_NATS_USER_RESPONSE. - Sign
Invocation Request - CBOR body selected by
CONTENT_TYPE_SIGN_REQUEST. - Sign
Invocation Response - CBOR body selected by
CONTENT_TYPE_SIGN_RESPONSE.
Enums§
- Invocation
Error - Errors returned while validating or canonicalizing sealed invocation data.
- Invocation
Status Code - Status code carried inside encrypted invocation response bodies.
Constants§
- CONTENT_
TYPE_ MINT_ JWT_ REQUEST - COSE content type for
MintJwtInvocationRequestplaintext bodies. - CONTENT_
TYPE_ MINT_ JWT_ RESPONSE - COSE content type for
MintJwtInvocationResponseplaintext bodies. - CONTENT_
TYPE_ MINT_ NATS_ USER_ REQUEST - COSE content type for
MintNatsUserInvocationRequestplaintext bodies. - CONTENT_
TYPE_ MINT_ NATS_ USER_ RESPONSE - COSE content type for
MintNatsUserInvocationResponseplaintext bodies. - CONTENT_
TYPE_ SIGN_ REQUEST - COSE content type for
SignInvocationRequestplaintext bodies. - CONTENT_
TYPE_ SIGN_ RESPONSE - COSE content type for
SignInvocationResponseplaintext bodies. - DEFAULT_
EXPIRES_ AFTER_ SECS - Default signed request TTL when
expires_at_unixis absent. - INVOCATION_
CONTENT_ TYPES - Every registered basil invocation content type, request/response pairs in registry order. Only the sign pair is executable today; the mint pairs are reserved wire-format contracts pinned by fixtures.
- SECURE_
MESSAGE_ VERSION - The only supported sealed-invocation envelope version.