NAME
Net::FCP::Key::SSK - manage SSK keys.
SYNOPSIS
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);
DESCRIPTION
THE Net::FCP::Key::SSK CLASS
- 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;
-
Various way to create a SSK key object.
- $key->save ($path)
-
Write the key to the givne file. Unencrypted.
- $key->as_string
-
Returns a stringified version fo the key data (in no standard format).
- my $puburi = $key->gen_pub ($name)
-
Build a public SSK subkey with the given name and return it as a URI without
freenet:
-prefix. - my $privuri = $key->gen_priv ($name)
-
Build a private SSK subkey with the given name and return it as a URI without
freenet:
-prefix.
SEE ALSO
BUGS
Not heavily tested.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/