Multiple Recipients
$jweBuilder
->create()
->withPayload('...')
->withSharedProtectedHeader(['enc' => 'A128GCM'])
->addRecipient($recipient_key_1, ['alg' => 'RSA1_5'])
->addRecipient($recipient_key_2, ['alg' => 'RSA-OAEP-256'])
->build();Key Management Modes
Key Encryption Algorithms And Associated Key Management Mode.
Compatibility table between Key Management Modes:
Last updated
Was this helpful?