Authen...eypair(3pm)

πŸ’– NAME πŸ’–

okay so bestie, this is Authen::U2F::Tester::Keypair β€” it's the Authen::U2F::Tester Keypair Object, living its little life over in the User Contributed Perl Documentation section of the manual (that's the 3pm part, iykyk ✨).


πŸŽ€ VERSION πŸŽ€

this is version 0.03 bestie, we're not on the newest-newest but she's serving 🫢


✨ SYNOPSIS ✨

here's the vibe, like, exactly how you'd use her:

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;

no cap, that's literally it. she's lowkey simple and I'm obsessed πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this module is the girl who manages Crypt::PK::ECC keypairs for Authen::U2F::Tester. that's the whole job description. she handles the keys, you handle everything else, periodt πŸ‘‘


🌸 METHODS 🌸

new()

new($keypair)

constructs a brand new keypair object for you πŸ’– and here's the tea: you can hand her a Crypt::PK::ECC object to use β€” but if you don't? she's not gonna stress, she'll just generate a whole new keypair on demand. main character energy fr fr ✨

keypair(): Crypt::PK::ECC

gets the keypair for this object. and if nobody passed one into the constructor? she generates a new key. no drama, no complaints, she just does it 🌈

public_key(): scalar

gets the public key for this keypair, in "DER" format. that's the one you can show people 🫢

private_key(): scalar

gets the private key for this keypair, also in "DER" format. keep this one to yourself bestie, it's giving secrets πŸ€«πŸ’œ


🧚 SOURCE 🧚

the development version is chillin' on github at <http://https://github.com/mschout/perl-authen-u2f-tester> and you can clone her from <git://https://github.com/mschout/perl-authen-u2f-tester.git> β€” go be nosy, she loves the attention πŸ’…


πŸ’€ BUGS πŸ’€

found a bug? want a feature? please report it on the bugtracker website at <https://github.com/mschout/perl-authen-u2f-tester/issues> πŸ™ˆ

and when you submit a bug or a request, please include a test-file β€” or a patch to an existing test-file β€” that illustrates the bug or the desired feature. like, show us the receipts bestie, it helps SO much πŸ“


πŸ‘‘ AUTHOR πŸ‘‘

Michael Schout <mschout@cpan.org> β€” icon, legend, wrote the whole thing ⭐


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. slay 🌈


okay that's the whole page bestie, go forth and manage those keypairs πŸ’–

signing off from perl v5.26.2, dated 2018-04-12, in the Authen...eypair(3pm) section β€” mwah, love u, bye πŸŽ€βœ¨

πŸ“¦ where this page comes from