Skip to main content

Module token

Module token 

Source

Structsยง

Header ๐Ÿ”’
JWT header for BLS-BN254 tokens.
Payload ๐Ÿ”’
JWT payload with standard claims.
Token
A token whose BLS signature and timestamp have been verified. Only constructable via UnauthenticatedToken::verify.
UnauthenticatedToken
Parsed but unverified JWT token with BLS-BN254 signature.

Enumsยง

TokenParseError
TokenVerifyError

Functionsยง

load_bls_signing_key
now_unix_secs ๐Ÿ”’
parse_bls_signing_key