MCPcopy Create free account
hub / github.com/RustCrypto/SSH / decode_as

Method decode_as

ssh-key/src/certificate.rs:506–523  ·  view source on GitHub ↗

Decode [`Certificate`] for the specified algorithm. # Errors Returns [`Error::Encoding`] in the event of an encoding error.

(reader: &mut impl Reader, algorithm: Algorithm)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

decodeFunction · 0.85
read_prefixedMethod · 0.80

Tested by

no test coverage detected