(&self, f: &mut Formatter<'_>)
| 60 | |
| 61 | impl Debug for DecodingKeyKind { |
| 62 | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { |
| 63 | match self { |
| 64 | Self::SecretOrDer(_) => f.debug_tuple("SecretOrDer").field(&"[redacted]").finish(), |
| 65 | Self::RsaModulusExponent { .. } => f |
| 66 | .debug_struct("RsaModulusExponent") |
| 67 | .field("n", &"[redacted]") |
| 68 | .field("e", &"[redacted]") |
| 69 | .finish(), |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | /// All the different kind of keys we can use to decode a JWT. |
nothing calls this directly
no outgoing calls
no test coverage detected