|
NAMENet::SSH::Perl::Key::Ed25519 - Ed25519 key objectSYNOPSISuse Net::SSH::Perl::Key; my $key = Net::SSH::Perl::Key->new('Ed25519'); DESCRIPTIONNet::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.USAGENet::SSH::Perl::Key::Ed25519 implements the interface described in the documentation for Net::SSH::Perl::Key. Any differences or additions are described here.$key->sign($data)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. $key->verify($signature, $data)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. Net::SSH::Perl::Key::Ed25519->keygen([$comment])Generates a new key with (optional) comment.AUTHOR & COPYRIGHTSLance Kinley E<lkinley@loyaltymethods.com>Copyright (c) 2015-2016 Loyalty Methods, Inc. LICENSEThis program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.POD ERRORSHey! The above document had some coding errors, which are explained below:
Visit the GSP FreeBSD Man Page Interface. |