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

    objMapper

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new encrypt pub key serializer.
  • Method Summary

    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 String
    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

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      createContextual in interface com.fasterxml.jackson.databind.ser.ContextualSerializer
      Parameters:
      prov - the prov
      property - 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:
      encryptValue in class EncryptCertificateSerializer<T>
      Parameters:
      word - the word
      Returns:
      the string