Net::FCP::Key::SSK - manage SSK keys.
use Net::FCP::Key::SSK; my $key = new Net::FCP::Key::SSK $public, $private[, $crypto] my $key = new_from_file Net::FCP::Key::SSK $path; my $key = new_from_fcp Net::FCP::Key::SSK $fcp; my $key = new_from_string Net::FCP::Key::SSK $string; $key->as_string; $key->save ($path); my $ssk_public_uri = $key->gen_pub ($name); my $ssk_private_uri = $key->gen_priv ($name);
Various way to create a SSK key object.
Write the key to the givne file. Unencrypted.
Returns a stringified version fo the key data (in no standard format).
Build a public SSK subkey with the given name and return it as a URI without freenet:-prefix.
freenet:
Build a private SSK subkey with the given name and return it as a URI without freenet:-prefix.
Net::FCP.
Not heavily tested.
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/
To install Net::FCP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FCP
CPAN shell
perl -MCPAN -e shell install Net::FCP
For more information on module installation, please visit the detailed CPAN module installation guide.