@Singleton
public class JWEAlgorithmConverter
extends java.lang.Object
implements io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,com.nimbusds.jose.JWEAlgorithm>
JWEAlgorithm
.Constructor and Description |
---|
JWEAlgorithmConverter() |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<com.nimbusds.jose.JWEAlgorithm> |
convert(java.lang.CharSequence object,
java.lang.Class<com.nimbusds.jose.JWEAlgorithm> targetType,
io.micronaut.core.convert.ConversionContext context) |
public java.util.Optional<com.nimbusds.jose.JWEAlgorithm> convert(java.lang.CharSequence object, java.lang.Class<com.nimbusds.jose.JWEAlgorithm> targetType, io.micronaut.core.convert.ConversionContext context)
convert
in interface io.micronaut.core.convert.TypeConverter<java.lang.CharSequence,com.nimbusds.jose.JWEAlgorithm>
object
- e.g. RSA-OAEPtargetType
- The target type being converted to JWEAlgorithm
context
- The ConversionContext
JWEAlgorithm