Crate paseto_core

Crate paseto_core 

Source
Expand description

PASETO core traits and types.

This library is mainly offered for crypto developers to write PASETO libraries easily.

See:

Modules§

encodings
PASETO Message encodings.
key
Core traits and types for PASETO keys.
pae
Pre-auth encoding
paserk
PASERK: Platform-Agnostic Serialized Keys
tokens
Generic Tokens
validation
Common PASETO claims validations.
version
Various helper traits

Enums§

PasetoError
Error returned for all PASETO and PASERK operations that can fail

Type Aliases§

EncryptedToken
A token with secret data
LocalKey
Private key used for encryption and decryptiom
PublicKey
Public key used for signature verification
SecretKey
Private key used for token signing
SignedToken
A token with publically readable data, but not yet verified
UnencryptedToken
An EncryptedToken that has been decrypted
UnsignedToken
A SignedToken that has been verified