isParsedSshPublicKeyAlgorithm
fn
bool isParsedSshPublicKeyAlgorithm(string algorithm) @safe pure nothrowWhether a public key blob advertising this algorithm name can be structurally parsed by parseSshPublicKeyBlob.
The set is the algorithms with qualified public-data parsing (ssh-ed25519, ssh-rsa, ecdsa-sha2-nistp256). Other names - ecdsa-sha2-nistp384/nistp521, certificate and security-key types - have no enabled parser because their secret-bearing primitives are outside the qualified profile. Callers that process collections of keys shared with other implementations (for example known_hosts files) can skip such entries the way OpenSSH ignores key types it does not use, instead of treating the whole collection as malformed.
Parameters
algorithm | SSH public key algorithm name. |
Returns
True when parseSshPublicKeyBlob accepts the algorithm.