Fix possible NPE in JWETokenDecrypter when jcaKeyAlg is not supported by the registry

Description

The AlgorithmSupport class can return null if the key algorithm is not found in the algorithm registry. This needs to be caught by the Decrypter.

Environment

None

Activity

Show:

Philip Smart July 20, 2023 at 2:47 PM

Add NPE check.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Created July 20, 2023 at 12:56 PM
Updated July 20, 2023 at 2:47 PM
Resolved July 20, 2023 at 1:20 PM