Algorithm Management
Algorithm Manager Factory Service
<?php
use Jose\Component\Core\AlgorithmManagerFactory;
$algorithmManagerFactory = $container->get(AlgorithmManagerFactory::class);
$algorithmManager = $algorithmManagerFactory->create(['RS256', 'HS512']);Custom Algorithm
services:
Acme\Bundle\Algorithm\FooAlgorihtm:
tags:
- {'name': 'jose.algorithm', 'alias': 'FOO'}PBES2-* Algorithms
Last updated
Was this helpful?