Documentation

AMATELUS.RequestBinding

Typed signature preimages. Crypto callbacks are trusted implementation contracts, never booleans supplied by a requester. Prefix lengths are byte lengths.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Instances For

      Issuer-local scope. allIssuedByTarget never means all issuers globally.

      Instances For
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Instances For
              Instances For
                @[reducible, inline]

                A receiver-owned ledger; commit payload and effects atomically in production.

                Equations
                Instances For
                  Instances For
                    def RequestBinding.verifyKeyRequest (req : KeyRequest) (expected : KeyOperation) (issuer : ValidDID) (now : ℕ) (interactive : Bool) (checks : KeyChecks) (budget : ResourceBudget) :
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def RequestBinding.processKeyRequest (req : KeyRequest) (expected : KeyOperation) (issuer : ValidDID) (now : ℕ) (interactive : Bool) (checks : KeyChecks) (budget : ResourceBudget) (ledger : KeyLedger) :

                      Same id+same authenticated payload is idempotent; same id+different payload is rejected. Ledger partitioning is issuer-local. Cached success has no new effect.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def RequestBinding.applyKeyRequest (req : KeyRequest) (expected : KeyOperation) (issuer : ValidDID) (now : ℕ) (interactive : Bool) (checks : KeyChecks) (budget : ResourceBudget) (ledger : KeyLedger) :

                        Sequential ledger transition. Production must serialize this with the actual revocation/rotation effects; two concurrent reads must not both apply.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem RequestBinding.accepted_key_operation (req : KeyRequest) (expected : KeyOperation) (issuer : ValidDID) (now : ℕ) (interactive : Bool) (checks : KeyChecks) (budget : ResourceBudget) (h : verifyKeyRequest req expected issuer now interactive checks budget = true) :
                          req.payload.operation = expected ∧ req.payload.targetIssuer = issuer
                          def RequestBinding.authorizePersonalReissue (payload : KeyPayload) (verifyIdentityRecords : ValidDID → ValidDID → ValidDID → RevocationScope → Bool) :

                          Signature/key control never authorizes personal credential reissuance by itself. The issuer's identity-record verification must bind both DIDs and exact scope.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                Instances For
                                  Instances For
                                    def RequestBinding.verifyTransfer (req : TransferRequest) (recipient : ValidDID) (purpose : String) (role : PresentationRole) (now : ℕ) (checks : TransferChecks) (budget : ResourceBudget) :
                                    Equations
                                    • One or more equations did not get rendered due to their size.
                                    Instances For
                                      def RequestBinding.processTransfer (req : TransferRequest) (recipient : ValidDID) (purpose : String) (role : PresentationRole) (now : ℕ) (checks : TransferChecks) (budget : ResourceBudget) (ledger : List TransferPayload) :
                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For