| Net-FCP documentation | view source | Contained in the Net-FCP distribution. |
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.
Build a private SSK subkey with the given name and return it as a URI without
freenet:-prefix.
Not heavily tested.
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/
| Net-FCP documentation | view source | Contained in the Net-FCP distribution. |