Package com.bld.crypto.aes.serializer
Class EncryptAesSerializer<T>
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
-
- com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<T>
-
- com.bld.crypto.serializer.EncryptCertificateSerializer<T>
-
- com.bld.crypto.aes.serializer.EncryptAesSerializer<T>
-
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable,com.fasterxml.jackson.databind.jsonschema.SchemaAware,com.fasterxml.jackson.databind.ser.ContextualSerializer,Serializable
public class EncryptAesSerializer<T> extends EncryptCertificateSerializer<T> implements com.fasterxml.jackson.databind.ser.ContextualSerializer
The Class EncryptPubKeySerializer.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.bld.crypto.serializer.EncryptCertificateSerializer
objMapper
-
-
Constructor Summary
Constructors Constructor Description EncryptAesSerializer()Instantiates a new encrypt pub key serializer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonSerializer<?>createContextual(com.fasterxml.jackson.databind.SerializerProvider prov, com.fasterxml.jackson.databind.BeanProperty property)Creates the contextual.protected StringencryptValue(String word)Encrypt value.-
Methods inherited from class com.bld.crypto.serializer.EncryptCertificateSerializer
serialize
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
acceptJsonFormatVisitor, getSchema, serializeWithType
-
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
-
-
-
-
Method Detail
-
createContextual
public com.fasterxml.jackson.databind.JsonSerializer<?> createContextual(com.fasterxml.jackson.databind.SerializerProvider prov, com.fasterxml.jackson.databind.BeanProperty property) throws com.fasterxml.jackson.databind.JsonMappingExceptionCreates the contextual.- Specified by:
createContextualin interfacecom.fasterxml.jackson.databind.ser.ContextualSerializer- Parameters:
prov- the provproperty- the property- Returns:
- the json serializer
- Throws:
com.fasterxml.jackson.databind.JsonMappingException- the json mapping exception
-
encryptValue
protected String encryptValue(String word)
Encrypt value.- Specified by:
encryptValuein classEncryptCertificateSerializer<T>- Parameters:
word- the word- Returns:
- the string
-
-