NAME

Crypt::JWS::OpenSSL::Role::ECEncoder - Provides methods for modules handling EC curves.

Composed into

VERSION

version 0.001

METHODS

get_ecc_curve

Accepts a common curve descriptive string ( e.g P-384, ES256, secp521r1 ) and returns the necessary parameters to process a curve of that type.

private_ecc_key_der

Accepts a common curve descriptive string and the x, y and d parameters of an EC private key. Returns the der encoded result.

public_ecc_key_der

Accepts a common curve descriptive string and the x and y parameters of an EC public key. Returns the der encoded result.

AUTHOR

Mark Dootson <mdootson@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2026 by Mark Dootson

This library is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.