Re-encrypt a JWE General JSON Serialization payload

Decrypts the incoming JWE under the kid in its
protected header (or under sourceKidOverride if the
header has no kid) and re-encrypts the plaintext
under newKid. The result is a fresh JWE General JSON
Serialization (RFC 7516 §7.2) payload — single-recipient for
SIMPLE target keys, multi-recipient for COMPOSITE hybrid targets.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON object with:
jweToken – the source JWE General JSON Serialization
(RFC 7516 §7.2) payload to re-encrypt.
newKid – key ID for the target public key.
sourceKidOverride – optional fallback decrypt-kid
for legacy payloads whose protected header omits kid.

Request body for JWE re-encryption. Carries the source RFC 7516 §7.2
General JSON Serialization payload plus the target key identifier
(newKid). The optional sourceKidOverride
is the fallback decrypt-kid for legacy payloads that omit
kid from the protected header.

jweToken
object
required

Source JWE General JSON Serialization payload to re-encrypt.

string
required
length between 0 and 255
^[A-Za-z0-9._:-]+$

Target key identifier that will protect the new JWE.

string
length between 0 and 255
^[A-Za-z0-9._:-]+$

Optional fallback key identifier used when the incoming JWE
protected header has no kid. MUST NOT be provided
when the header already includes a kid.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json