Module cargo::util::auth::asymmetric
source · Expand description
Registry asymmetric authentication support. See RFC 3231 for more.
Structs
- Footer 🔒The footer of an asymmetric token as describe in RFC 3231.
- Message 🔒The main body of an asymmetric token as describe in RFC 3231.
Functions
- Checks that a secret key is valid, and returns the associated public key in Paserk format.
- Generates a public token from a registry’s
credential
configuration for authenticating to asource_id