BoundedAuthorityProtocol.RoleAttestation.V1.DecodedAttestation (Bounded Authority Protocol v1.0.0)

Copy Markdown View Source

Closed bounded decode of one role attestation without trust evaluation.

Returned by BoundedAuthorityProtocol.RoleAttestation.V1.decode_attestation/2 for diagnosis only; it is never a verified value.

Fields

  • version - always 1.
  • attestor_key_id - the header kid.
  • jti - the attestation identifier.
  • key_id - the subject key identifier.
  • public_key - the subject's raw 32-byte Ed25519 public key.
  • role - "issuer" or "holder".
  • nbf - the start of the window, integer Unix time in seconds.
  • exp - the exclusive end of the window, integer Unix time in seconds.
  • verification - always :not_evaluated.

Summary

Types

t()

An unverified decoded role attestation.

Types

t()

@type t() :: %BoundedAuthorityProtocol.RoleAttestation.V1.DecodedAttestation{
  attestor_key_id: binary(),
  exp: integer(),
  jti: binary(),
  key_id: binary(),
  nbf: integer(),
  public_key: binary(),
  role: binary(),
  verification: :not_evaluated,
  version: 1
}

An unverified decoded role attestation.