Skip to content

AES256GCM JWE encryption in .NET standard 2.0 using Bouncy Castle #207

@shaiArn

Description

@shaiArn

Hey @dvsekhvalnov,

I'm trying to encode a JWT with JWE encryption using AES 256 GCM.
On Windows, it works great:
JWT.Encode(payload, jwk, JweAlgorithm.RSA_OAEP, JweEncryption.A256GCM, extraHeaders: header)
The tricky part is that I need it to run on iOS, and the AES 256 GCM algorithm used is using the bcrypt dll that does not exist on iOS.

Is it possible to use Bouncy Castle's implementation instead of the .NET core one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions