Skip to content

Converting ECPrivateKey SEC1 to PCKS8  #153

@romgrm

Description

@romgrm

Hello !
I'm currently generating an EC keypair that I encode in PEM format.

The back end to which I send the keys tells me that they need the Pkcs8 format and not SEC1.

I wonder if it's possible with this lib, to convert an ECPrivateKey to Pcks8? Or is it only for RSA keys?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions