Authen::U2F::Tester::Keypair(3pm)

Authen::U2F::Tester::Keypair3pm

Authen::u2f::tester keypair object

Usage

 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;

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>

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Bugs

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.

Author

Michael Schout <[email protected]>

From libauthen-u2f-tester-perl 0.03-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.