Closed
Description
Is your feature request related to a problem? Please describe.
I have to clone the AlgorithmManager, or create a new instance with just the one algorithm when new-ing up JWEBuilder and JWSBuilder. Their signature is JWSBuilder($algorithmManager, $algorithmManager, $compressionManager)
.
Describe the solution you'd like
If it is truly a manager, it should only be needed once, instead of having to replicate the class. If the one manager contains both the CEK and the KeyEncryption algorithms then they can be referenced by name when used.