Expand description
Purpose-scoped remote controller recognition, whole-source disclosure policy, RecipientRecord reuse, decision-ticket codec, and R2 issuance/current grant. B2 wrap_for / private M decode / PacketProtection delivery remain separate.
Re-exports§
pub use crate::crypto::network::object_stream::RecipientRecord;pub use crate::crypto::network::object_stream::RECIPIENT_BYTES;pub use crate::crypto::network::object_stream::RECIPIENT_PURPOSE;
Structs§
- Allowed
Ops - Allowed ticket actions for one enrollment. Unknown bits refuse.
- Closure
Budget - Already-counted closure occupancy. Policy bytes/nodes charge this budget.
- Controller
Recognition - Fixed eight-slot table. Default deny; no implicit eviction; no key material.
- Decision
Ticket Fields - Disclosure
Decision - Current remote decision. Fields are private; no public constructor exists.
- Disclosure
Policy Fields - Disclosure
Policy View - Independent
Admission - Independent admission facts. Check A against these, never against A itself.
- Install
Request - Inputs for verifier install. Controller library/pins/owner must be a different mutex.
'owneris the only lifetime retained byRemoteDisclosureGrant. - Issue
Buffers - Caller-owned output. Envelope slots must fit
cose::MAX_ENVELOPE_BYTES. - Issue
Request - Exact issuance inputs. Challenge is verifier-issued via
fresh_challenge. - Issued
Lengths - Managed
Signers - Host-authenticated managed signing identity. Not a second KeyManager.
- Recognition
Admin - Crate-local admin token analogous to LocalBootstrap. Not a wire role flag.
- Recognition
Enrollment - Trusted host enrollment. Exact source/policy; no wildcard or delegation chain.
- Recognition
Handle - Process-local selection of an enrolled controller row.
- Recognized
Controller - Snapshot of a currently recognized controller. Not a disclosure grant.
- Remote
Disclosure Grant - Private current grant. No public constructor and no
ExecutionPermitescape. - Source
Coverage - Whole-source coverage bits. This profile admits only the complete set.
- Verifier
Challenge Slot - Capacity-1 outstanding challenge. Not a serialized ticket; restart needs a new slot.
Enums§
- Disclosure
Action - Ticket action. Metadata release and payload use are distinct effects.
Constants§
- DECISION_
TICKET_ BYTES - DISCLOSURE_
DECISION_ PURPOSE - Paired control-message purpose. Defined here; object_stream/types.rs stays frozen.
- MAX_
CLOSURE_ LABELS - MAX_
DECISION_ LEASE_ SECS - MAX_
DISCLOSURE_ POLICY_ BYTES - MAX_
RECOGNIZED - MAX_
TICKET_ PACKAGE_ BYTES - REMOTE_
AUTHORIZATION_ BYTES
Functions§
- bind_
policy_ to_ closure - Policy original must already be a counted closure node inside existing limits.
- check_
recipient_ against_ independent - decode_
decision_ ticket - decode_
disclosure_ policy - encode_
decision_ ticket_ into - encode_
disclosure_ policy_ into - fresh_
challenge - OS-CSPRNG challenge. All-zero is refused here and again in the ticket codec.
- install_
remote_ disclosure - Verify A + ticket against independent facts, consume the challenge, install the grant.
- issue_
disclosure - Issue A and the disclosure ticket from THIS recognition table only.
- refuse_
all_ subjects_ consented_ flag - Do not accept an all-subjects-consented boolean as co-consent evidence.
- refuse_
bool_ authority - A bool trait is not remote authority.
- refuse_
consent_ ledger_ as_ pq_ source_ auth - ConsentLedger is classical health-category consent, not PQ source authority.
- refuse_
delegation_ chain - SignedControllerChain-style delegation is unsupported in this profile.
- refuse_
policy_ outcome - PolicyOutcome::Allow is not a remote disclosure decision.
- refuse_
signed_ sensing_ scope_ as_ whole_ source - SignedSensingScope is a source-specific Ed25519 profile, not whole-source disclosure.
- refuse_
verified_ label_ as_ issuer - VerifiedLabel checks encoding/digest, not recognized issuer authority.
- refuse_
wire_ role_ install - Wire role flags never install recognition. Local admin is instance-bound.
- ticket_
package_ len - Ticket plus paired envelope must stay inside the 8192 private-package bound.