View Source Boruta.VerifiableCredentials.Status (Boruta ssi core v0.1.0-beta.1)

Implements status tokens as stated in this working draft helping to annotate identity information.

Summary

Functions

Link to this function

generate_status_token(secret, ttl, status)

View Source
@spec generate_status_token(secret :: String.t(), ttl :: integer(), status :: atom()) ::
  status_token :: String.t()
@spec shift(status :: atom()) :: shift :: integer()
Link to this function

verify_status_token(secret, status_token)

View Source
@spec verify_status_token(secret :: String.t(), status_token :: String.t()) ::
  status :: atom()