class Net::SSH::Authentication::ED25519::PrivKey

def self.read(data, password)

def self.read(data, password)
  OpenSSHPrivateKeyLoader.read(data, password)
end

def initialize(buffer)

def initialize(buffer)
  pk = buffer.read_string
  sk = buffer.read_string
  _comment = buffer.read_string
  @pk = pk
  @sign_key = SigningKeyFromFile.new(pk, sk)
end

def public_key

def public_key
  PubKey.new(@pk)
end

def ssh_do_sign(data, sig_alg = nil)

def ssh_do_sign(data, sig_alg = nil)
  @sign_key.sign(data)
end

def ssh_signature_type

def ssh_signature_type
  ssh_type
end

def ssh_type

def ssh_type
  "ssh-ed25519"
end

def to_blob

def to_blob
  public_key.to_blob
end