Crypt::Perl::ECDSA::EC::DB - Interface to this module’s CurvesDB datastore
my $oid = Crypt::Perl::ECDSA::EC::DB::get_oid_for_curve_name('prime256v1'); my $data_hr = Crypt::Perl::ECDSA::EC::DB::get_curve_data_by_oid('1.2.840.10045.3.1.7'); my $name = Crypt::Perl::ECDSA::EC::DB::get_curve_name_by_data( p => ..., #isa Crypt::Perl::BigInt a => ..., #isa Crypt::Perl::BigInt b => ..., #isa Crypt::Perl::BigInt n => ..., #isa Crypt::Perl::BigInt h => ..., #isa Crypt::Perl::BigInt gx => ..., #isa Crypt::Perl::BigInt gy => ..., #isa Crypt::Perl::BigInt seed => ..., #isa Crypt::Perl::BigInt, optional ); #The opposite query from the preceding. my $data_hr = Crypt::Perl::ECDSA::EC::DB::get_curve_data_by_name('prime256v1');
This interface is undocumented for now.
To install Crypt::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::Perl
CPAN shell
perl -MCPAN -e shell install Crypt::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.