Crypto::SSHKey
Inherits Reference / Object
Constants
SSH2_LINE_LENGTH = 70
SSH_CONVERSION = {"rsa" => ["e", "n"], "dsa" => ["p", "q", "g", "pub_key"]}
SSH_TYPES = {"ssh-rsa" => "rsa", "ssh-dss" => "dsa", "ssh-ed25519" => "ed25519", "ecdsa-sha2-nistp256" => "ecdsa", "ecdsa-sha2-nistp384" => "ecdsa", "ecdsa-sha2-nistp521" => "ecdsa"}
SSHFP_TYPES = {"rsa" => 1, "dsa" => 2, "ecdsa" => 3, "ed25519" => 4}
Constructors
new(private_key : PrivateKey, passphrase : String | Nil = nil, comment : String | Nil = nil, directives : Array(String) | Nil = nil)
Source