Skip to content

Support specifying encryption algorithms in RsaPrivateKey::into_jwk #127

@Stupremee

Description

@Stupremee

We must change the Algorithm type on the impl IntoJsonWebKey for RsaPrivateKey to be JsonWebAlgorithm, so it is possible to specify encryption algorithms.

This must also be done on all other key types that will, at some point in future, support encryption & signing.

In addition to changing the Algorithm type, in the method we must check if the algorithm is compatible with the key type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    release:0.1Issues which must be solved for the 0.1 release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions