MCPcopy Create free account
hub / github.com/Keats/jsonwebtoken / AlgorithmFamily

Enum AlgorithmFamily

src/algorithms.rs:9–18  ·  view source on GitHub ↗

Supported families of algorithms.

Source from the content-addressed store, hash-verified

7#[derive(Debug, Eq, PartialEq, Copy, Clone, Serialize, Deserialize)]
8/// Supported families of algorithms.
9pub enum AlgorithmFamily {
10 /// HMAC shared secret family.
11 Hmac,
12 /// RSA-based public key family.
13 Rsa,
14 /// Elliptic curve public key family.
15 Ec,
16 /// Edwards curve public key family.
17 Ed,
18}
19
20impl AlgorithmFamily {
21 /// A list of all possible Algorithms that are part of the family.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected