Building the JWE
See code samples here for how to structure and encrypt the JWE in various programming languages.
- RSA 2048 certificate in JWK format
- RSA-OAEP-256 as key encryption algorithm
- A256GCM as content encryption algorithm
JSON
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Response
Successful request.
Algorithm intended for use with the key.
Example:
"RSA-OAEP-256"
Exponent value for the RSA public key in Base64 URL format.
Example:
"..."
Operation permitted for the key.
Example:
["encrypt"]Unique identifier for the kid.
Example:
"..."
Type of key.
Example:
"RSA"
Modulus value for the RSA public key in Base64 URL format.
Example:
"..."
Intended use of the key.
Example:
"enc"