Skip to content

JWEBuilder, JWSBuilder, multiple AlgorithmManagers #229

Closed
@devsi

Description

@devsi

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.

Screen Shot 2019-11-27 at 10 50 41 AM

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions