@blockchaincommons/components - v1.0.0-beta.4
    Preparing search index...

    Function parseSshAlgorithm

    • The algorithm for a wire-format name.

      As ssh-key 0.6.7 Algorithm::from_str, the RFC 8332 names rsa-sha2-256 / rsa-sha2-512 also denote an RSA key. A name the package does not support is an Ssh failure: ssh-key accepts any name@domain identifier as an opaque algorithm, which this package does not implement (unsupported algorithm: <name>); every other unknown name fails its label parser (invalid label: '<name>').

      Parameters

      • name: string

      Returns SshAlgorithm