Enum paseto::tokens::PasetoPublicKey
[−]
[src]
pub enum PasetoPublicKey { RSAPublicKey(Vec<u8>), ED25519KeyPair(Ed25519KeyPair), }
Wraps the two paseto public key types so we can just have a "validate_public_token" method without splitting the two implementations.
Variants
RSAPublicKey(Vec<u8>)
ED25519KeyPair(Ed25519KeyPair)