File Coverage

blib/lib/GnuPG/PublicKey.pm
Criterion Covered Total %
statement 4 4 100.0
branch n/a
path n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 6 100.0


line stmt bran path cond sub pod time code
1               # PublicKey.pm
2               # - providing an object-oriented approach to GnuPG public keys
3               #
4               # Copyright (C) 2000 Frank J. Tobin <ftobin@cpan.org>
5               #
6               # This module is free software; you can redistribute it and/or modify it
7               # under the same terms as Perl itself.
8               #
9               # This program is distributed in the hope that it will be useful,
10               # but WITHOUT ANY WARRANTY; without even the implied warranty of
11               # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12               #
13               # $Id: PublicKey.pm,v 1.9 2001/09/14 12:34:36 ftobin Exp $
14               #
15                
16               package GnuPG::PublicKey;
17 5       5   78 use Moo;
  5           25  
  5           212  
18                
19 5       5   4511 BEGIN { extends qw( GnuPG::PrimaryKey ) }
20                
21               1;
22                
23               __END__
24                
25               =head1 NAME
26                
27               GnuPG::PublicKey - GnuPG Public Key Objects
28                
29               =head1 SYNOPSIS
30                
31               # assumes a GnuPG::Interface object in $gnupg
32               my @keys = $gnupg->get_public_keys( 'ftobin' );
33                
34               # now GnuPG::PublicKey objects are in @keys
35                
36               =head1 DESCRIPTION
37                
38               GnuPG::PublicKey objects are generally instantiated
39               through various methods of GnuPG::Interface.
40               They embody various aspects of a GnuPG public key.
41                
42               This package inherits data members and object methods
43               from GnuPG::PrimaryKey, which is not described here, but rather
44               in L<GnuPG::PrimaryKey>.
45                
46               Currently, this package is functionally no different
47               from GnuPG::PrimaryKey.
48                
49               =head1 SEE ALSO
50                
51               L<GnuPG::PrimaryKey>,
52                
53               =cut