JWE creation
Last updated
Was this helpful?
Was this helpful?
jose:
jwe:
builders:
builder1:
key_encryption_algorithms: ['A256GCMKW']
content_encryption_algorithms: ['A256CBC-HS256']
#compression_methods: ['DEF']
is_public: true<?php
$jweBuilder = $container->get('jose.jwe_builder.builder1');jose:
jwe:
builders:
builder1:
key_encryption_algorithms: ['A256GCMKW']
content_encryption_algorithms: ['A256CBC-HS256']
#compression_methods: ['DEF']
tags:
tag_name1: ~
tag_name2: {attribute1: 'foo'}