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

Class EncodingKey

src/encoding.rs:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19/// This key can be re-used so make sure you only initialize it once if you can for better performance.
20#[derive(Clone, Zeroize, ZeroizeOnDrop)]
21pub struct EncodingKey {
22 #[zeroize(skip)]
23 family: AlgorithmFamily,
24 content: Vec<u8>,
25}
26
27impl EncodingKey {
28 /// The algorithm family this key is for.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected