JwtTokenBuilder.EncryptWithJwkPath method
Encrypts the JWT payload using a JWK read from a file.
public JwtTokenBuilder EncryptWithJwkPath(string jwkPath, string keyAlg = "RSA-OAEP",
string encAlg = "A256GCM")
| parameter | description |
|---|---|
| jwkPath | Path to the JWK JSON file. |
| keyAlg | The JWE key management algorithm (default: “RSA-OAEP”). |
| encAlg | The JWE content encryption algorithm (default: “A256GCM”). |
Return Value
The current JwtTokenBuilder instance.
See Also
- class JwtTokenBuilder
- namespace Kestrun.Jwt