BoundedAuthorityProtocol. V1. EnvelopeFacts
(Bounded Authority Protocol v1.0.0)
Copy Markdown
View Source
Closed value-bearing, redacted, non-authorizing verified envelope facts.
Fields
version- the contract-major, always1.issuer- the verifiedissclaim.grant_id- the verifiedjticlaim.issuer_key_fingerprint- the raw 32-byte RFC 7638 thumbprint of the trusted issuer public key the caller supplied.holder_thumbprint- the raw 32-byte RFC 7638 thumbprint the grant confirms (cnf.jkt).matched_audience- the expected audience, which the grant'saudcontains.issued_at- the grantiat, integer Unix time in seconds.not_before- the grantnbf, integer Unix time in seconds.expires_at- the grantexp, integer Unix time in seconds.authorization- always:not_evaluated: these facts are never an authorization decision.proof_id- the verified proofjti.invocation_id- the verifiedba_inv; reserve it against replay yourself.operation- the verified operation name.target_uri- the verified normalized target URI.grant_hash- the raw 32-byte SHA-256 of the grant compact the proof is bound to.request_hash- the raw 32-byte request digest the proof is bound to.proof_issued_at- the proofiat, integer Unix time in seconds.
Summary
Types
@type t() :: %BoundedAuthorityProtocol.V1.EnvelopeFacts{ authorization: :not_evaluated, expires_at: integer(), grant_hash: binary(), grant_id: binary(), holder_thumbprint: binary(), invocation_id: binary(), issued_at: integer(), issuer: binary(), issuer_key_fingerprint: binary(), matched_audience: binary(), not_before: integer(), operation: binary(), proof_id: binary(), proof_issued_at: integer(), request_hash: binary(), target_uri: binary(), version: 1 }
Facts from a verified grant and proof.