latchset / kryoptic

a pkcs#11 software token written in Rust
GNU General Public License v3.0
10 stars 4 forks source link

Share the PrivateKeyInfo structure among RSA and ECC implementation #12

Closed Jakuje closed 7 months ago

Jakuje commented 7 months ago

~Using the defined-by magic.~

Using opaque OCTET STRING

Fixes #10.

Jakuje commented 7 months ago

Rewritten to use opaque OCTET STRING in the shared code as the DEFINED by would need us to share all algorithm structures. Should be ready.