1Net::SSH::Perl::Key::EdU2s5e5r19C(o3n)tributed Perl DocuNmeetn:t:aStSiHo:n:Perl::Key::Ed25519(3)
2
3
4

NAME

6       Net::SSH::Perl::Key::Ed25519 - Ed25519 key object
7

SYNOPSIS

9           use Net::SSH::Perl::Key;
10           my $key = Net::SSH::Perl::Key->new('Ed25519');
11

DESCRIPTION

13       Net::SSH::Perl::Key::Ed25519 subclasses Net::SSH::Perl::Key to
14       implement an OpenSSH key object.  It uses code taken from the SUPERCOP
15       ref10 implementation to do the crypto heavy lifting.  The
16       Net::SSH::Perl::Buffer class is used to create blobs and transforms
17       those it into a key object and to write keys to an openssh-key-v1 file.
18

USAGE

20       Net::SSH::Perl::Key::Ed25519 implements the interface described in the
21       documentation for Net::SSH::Perl::Key. Any differences or additions are
22       described here.
23
24   $key->sign($data)
25       Signs $data using the private and public key portions of $key, then
26       encodes that signature into an SSH-compatible signature blob.
27
28       Returns the signature blob.
29
30   $key->verify($signature, $data)
31       Given a signature blob $signature and the original signed data $data,
32       attempts to verify the signature using the public key portion of $key.
33
34       $signature should be an SSH-compatible signature blob, as returned from
35       sign; $data should be a string of data, as passed to sign.
36
37       Returns true if the verification succeeds, false otherwise.
38
39   Net::SSH::Perl::Key::Ed25519->keygen([$comment])
40       Generates a new key with (optional) comment.
41

AUTHOR & COPYRIGHTS

43       Lance Kinley E<lkinley@loyaltymethods.com>
44
45       Copyright (c) 2015-2016 Loyalty Methods, Inc.
46

LICENSE

48       This program is free software; you can redistribute it and/or modify it
49       under the same terms as Perl itself.
50

POD ERRORS

52       Hey! The above document had some coding errors, which are explained
53       below:
54
55       Around line 378:
56           Unknown E content in E<lkinley@loyaltymethods.com>
57
58
59
60perl v5.32.0                      2020-07-28   Net::SSH::Perl::Key::Ed25519(3)
Impressum