Authen::U2F::Tester::Keypair3pm
Authen::u2f::tester keypair object
Usage
my $keypair = Authen::U2F::Tester::Keypair->new;# private key in DER formatmy $private_key = $keypair->private_key;# public key in DER formatmy $public_key = $keypair->public_key;print $keypair->handle;
Version
version 0.03
Overview
This module manages Crypt::PK::ECC keypairs for Authen::U2F::Tester.
Methods
new()
new($keypair)
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.
keypair(): Crypt::PK::ECC
Gets the keypair for this object. If a keypair was not passed to the constructor, a new key will be generated.
public_key(): scalar
Get the public key (in "DER" format) for this keypair.
private_key(): scalar
Get the private key (in "DER" format) for this keypair.
Source
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>
Copyright and license
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.
Releases
Unchanged in 4 releases since Debian 10 (Buster).