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

Function validate_algorithm_id

ssh-key/src/algorithm/name.rs:92–98  ·  view source on GitHub ↗

Check if the length of `id` is at most `n`, and that `id` only consists of ASCII characters.

(id: &str, n: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

newMethod · 0.85
from_certificate_typeMethod · 0.85

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected