isSupportedSignatureAlgorithm

fnbool isSupportedSignatureAlgorithm(string algorithm) @safe pure nothrow

Checks whether a signature algorithm is accepted by the initial profile policy.

ssh-rsa (SHA-1 based) is deliberately not supported.

Parameters

algorithmSignature algorithm name.

Returns

True for ssh-ed25519, rsa-sha2-256,

rsa-sha2-512, and ecdsa-sha2-nistp256.