- AUTHOR & COPYRIGHTS
Net::SSH::Perl::Key::Ed25519 - Ed25519 key object
use Net::SSH::Perl::Key; my $key = Net::SSH::Perl::Key->new('Ed25519');
Net::SSH::Perl::Key::Ed25519 subclasses Net::SSH::Perl::Key to implement an OpenSSH key object. It uses code taken from the SUPERCOP ref10 implementation to do the crypto heavy lifting. The Net::SSH::Perl::Buffer class is used to create blobs and transforms those it into a key object and to write keys to an openssh-key-v1 file.
Net::SSH::Perl::Key::Ed25519 implements the interface described in the documentation for Net::SSH::Perl::Key. Any differences or additions are described here.
Signs $data using the private and public key portions of $key, then encodes that signature into an SSH-compatible signature blob.
Returns the signature blob.
Given a signature blob $signature and the original signed data $data, attempts to verify the signature using the public key portion of $key.
$signature should be an SSH-compatible signature blob, as returned from sign; $data should be a string of data, as passed to sign.
Returns true if the verification succeeds, false otherwise.
Generates a new key with (optional) comment.
Lance Kinley E<firstname.lastname@example.org>
Copyright (c) 2015-2016 Loyalty Methods, Inc.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 378:
Unknown E content in E<email@example.com>