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

Class PemEncodedKey

src/pem/decoder.rs:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42/// PKCS#8: https://tools.ietf.org/html/rfc5958
43#[derive(Debug)]
44pub(crate) struct PemEncodedKey {
45 content: Vec<u8>,
46 asn1: Vec<simple_asn1::ASN1Block>,
47 pem_type: PemType,
48 standard: Standard,
49}
50
51impl PemEncodedKey {
52 /// Read the PEM file for later key use

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected