Authen::U2F::Tester::Keypair(3pm) | User Contributed Perl Documentation | Authen::U2F::Tester::Keypair(3pm) |
Authen::U2F::Tester::Keypair - Authen::U2F::Tester Keypair Object
version 0.03
my $keypair = Authen::U2F::Tester::Keypair->new; # private key in DER format my $private_key = $keypair->private_key; # public key in DER format my $public_key = $keypair->public_key; print $keypair->handle;
This module manages Crypt::PK::ECC keypairs for Authen::U2F::Tester.
Construct a new keypair object. A Crypt::PK::ECC object can be passed to the constructor. Otherwise a new keypair will be generated on demand.
Gets the keypair for this object. If a keypair was not passed to the constructor, a new key will be generated.
Get the public key (in "DER" format) for this keypair.
Get the private key (in "DER" format) for this keypair.
The development version is on github at <http://https://github.com/mschout/perl-authen-u2f-tester> and may be cloned from <git://https://github.com/mschout/perl-authen-u2f-tester.git>
Please report any bugs or feature requests on the bugtracker website <https://github.com/mschout/perl-authen-u2f-tester/issues>
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Michael Schout <mschout@cpan.org>
This software is copyright (c) 2017 by Michael Schout.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2018-04-12 | perl v5.26.2 |