@Singleton public class JWSAlgorithmConverter extends Object implements TypeConverter<CharSequence,com.nimbusds.jose.JWSAlgorithm>
JWSAlgorithm.| Constructor and Description | 
|---|
JWSAlgorithmConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<com.nimbusds.jose.JWSAlgorithm> | 
convert(CharSequence object,
       Class<com.nimbusds.jose.JWSAlgorithm> targetType,
       ConversionContext context)
Converts from the given source object type to the target type. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvert, ofpublic Optional<com.nimbusds.jose.JWSAlgorithm> convert(CharSequence object, Class<com.nimbusds.jose.JWSAlgorithm> targetType, ConversionContext context)
TypeConverterOptional.empty()
 in case the object is not convertible by catching any necessary exceptions and failing gracefully.convert in interface TypeConverter<CharSequence,com.nimbusds.jose.JWSAlgorithm>object - e.g. HS256targetType - The target type being converted to JWSAlgorithmcontext - The ConversionContextJWSAlgorithm