1Authen::U2F::Tester::KeUyspearirC(o3n)tributed Perl DocuAmuetnhteant:i:oUn2F::Tester::Keypair(3)
2
3
4

NAME

6       Authen::U2F::Tester::Keypair - Authen::U2F::Tester Keypair Object
7

VERSION

9       version 0.03
10

SYNOPSIS

12        my $keypair = Authen::U2F::Tester::Keypair->new;
13
14        # private key in DER format
15        my $private_key = $keypair->private_key;
16
17        # public key in DER format
18        my $public_key = $keypair->public_key;
19
20        print $keypair->handle;
21

DESCRIPTION

23       This module manages Crypt::PK::ECC keypairs for Authen::U2F::Tester.
24

METHODS

26   new()
27   new($keypair)
28       Construct a new keypair object.  A Crypt::PK::ECC object can be passed
29       to the constructor.  Otherwise a new keypair will be generated on
30       demand.
31
32   keypair(): Crypt::PK::ECC
33       Gets the keypair for this object.  If a keypair was not passed to the
34       constructor, a new key will be generated.
35
36   public_key(): scalar
37       Get the public key (in "DER" format) for this keypair.
38
39   private_key(): scalar
40       Get the private key (in "DER" format) for this keypair.
41

SOURCE

43       The development version is on github at
44       <http://https://github.com/mschout/perl-authen-u2f-tester> and may be
45       cloned from
46       <git://https://github.com/mschout/perl-authen-u2f-tester.git>
47

BUGS

49       Please report any bugs or feature requests on the bugtracker website
50       <https://github.com/mschout/perl-authen-u2f-tester/issues>
51
52       When submitting a bug or request, please include a test-file or a patch
53       to an existing test-file that illustrates the bug or desired feature.
54

AUTHOR

56       Michael Schout <mschout@cpan.org>
57
59       This software is copyright (c) 2017 by Michael Schout.
60
61       This is free software; you can redistribute it and/or modify it under
62       the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.36.1                      2023-10-25   Authen::U2F::Tester::Keypair(3)
Impressum