| 1 | package Git::Raw::Cert::HostKey; | ||
| 2 | 1 | $Git::Raw::Cert::HostKey::VERSION = '0.90'; | |
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | Git::Raw::Cert::HostKey - Git hostkey class | ||
| 9 | |||
| 10 | =head1 VERSION | ||
| 11 | |||
| 12 | version 0.90 | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | A L<Git::Raw::Cert::HostKey> object represents a hostkey. | ||
| 17 | |||
| 18 | B<WARNING>: The API of this module is unstable and may change without warning | ||
| 19 | (any change will be appropriately documented in the changelog). | ||
| 20 | |||
| 21 | =head1 METHODS | ||
| 22 | |||
| 23 | =head2 ssh_types( ) | ||
| 24 | |||
| 25 | List of hostkey types, valid values include C<"md5"> and/or C<"sha1">. | ||
| 26 | |||
| 27 | =head2 sha1( ) | ||
| 28 | |||
| 29 | SHA-1 hostkey hash or C<undef> if not available. | ||
| 30 | |||
| 31 | =head2 md5( ) | ||
| 32 | |||
| 33 | MD5 hostkey hash or C<undef> if not available. | ||
| 34 | |||
| 35 | =head1 AUTHOR | ||
| 36 | |||
| 37 | Jacques Germishuys <jacquesg@cpan.org> | ||
| 38 | |||
| 39 | =head1 LICENSE AND COPYRIGHT | ||
| 40 | |||
| 41 | Copyright 2014 Jacques Germishuys. | ||
| 42 | |||
| 43 | This program is free software; you can redistribute it and/or modify it | ||
| 44 | under the terms of either: the GNU General Public License as published | ||
| 45 | by the Free Software Foundation; or the Artistic License. | ||
| 46 | |||
| 47 | See http://dev.perl.org/licenses/ for more information. | ||
| 48 | |||
| 49 | =cut | ||
| 50 | |||
| 51 | 1 | 1; # End of Git::Raw::Cert::HostKey | |