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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None -
Field Summary
Fields inherited from class com.bld.crypto.serializer.EncryptCertificateSerializer
objMapperFields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.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
serializeMethods inherited from class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer
acceptJsonFormatVisitor, getSchema, serializeWithTypeMethods 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, wrapAndThrowMethods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
EncryptAesSerializer
public EncryptAesSerializer()Instantiates a new encrypt pub key serializer.
-
-
Method Details
-
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.JsonMappingException Creates 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
Encrypt value.- Specified by:
encryptValuein classEncryptCertificateSerializer<T>- Parameters:
word- the word- Returns:
- the string
-