1package Net::SSH2::PublicKey;
2
3use strict;
4use warnings;
5use Carp;
6
7# methods
8
9
101;
11__END__
12
13=head1 NAME
14
15Net::SSH2::PublicKey - SSH 2 public key object
16
17=head1 DESCRIPTION
18
19   *** WARNING: public key functionality in libssh2 is experimental
20   *** and mostly abandoned. Don't expect anything on this module to
21   *** work correctly.
22
23A public key object is created by the L<Net::SSH2> C<public_key> method.
24
25=head1 METHODS
26
27=head2 add ( name, blob, overwrite flag, attributes... )
28
29Adds a new public key; attributes is a list of hashes with C<name>, C<value>,
30and C<mandatory> keys; mandatory defaults to false and value to empty.
31
32=head2 remove ( name, blob )
33
34Remove the given public key.
35
36=head2 fetch
37
38Returns a list of public keys in array context (count in scalar context);
39each item is a hash with keys C<name>, C<blob>, and C<attr>, with the latter
40being a hash with C<name>, C<value>, and C<mandatory> keys.
41
42=head1 SEE ALSO
43
44L<Net::SSH2>.
45
46=cut
47