Available on crate feature
v3
only.Expand description
PASETO version 3 tokens.
This is an implementation of the version 3 specification of PASETO.
The following points apply to this implementation, in regards to the specification:
- PASETO requires the use of compressed public keys. If these are not readily supported in a given
setting, UncompressedPublicKey and AsymmetricPublicKey
conversions can be used to obtain the compressed form. - PASETO recommends use of deterministic nonces (RFC 6979) which this library also uses.
- Hedged signatures, according to the PASETO spec, are not used.
Structs
- PASETO v3 public tokens.
- This struct represents a uncompressed public key for P384, encoded in big-endian using: Octet-String-to-Elliptic-Curve-Point algorithm in SEC 1: Elliptic Curve Cryptography, Version 2.0.
- Version 3 of the PASETO spec.