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

Class DecodingKey

src/decoding.rs:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75/// This key can be re-used so make sure you only initialize it once if you can for better performance.
76#[derive(Clone, Debug, ZeroizeOnDrop, Zeroize)]
77pub struct DecodingKey {
78 #[zeroize(skip)]
79 family: AlgorithmFamily,
80 kind: DecodingKeyKind,
81}
82
83impl DecodingKey {
84 /// The algorithm family this key is for.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected