Skip to content

Refactor PemPrivateKeyParser to use DerElement #37426

@mhalbritter

Description

@mhalbritter

The PemPrivateKeyParser uses a brute-force approach to find a suitable algorithm to parse a PEM-encoded key. This could be improved by using the DerElement class to read the ASN.1 and find out what type of key this is. This works for all PKCS#8 keys.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions