Annotation Type Encrypted


Indicates the annotated field should be encrypted during serialization and decrypted during deserialization.

May be used as a meta-annotation.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Alias of encrypter to use.
    Controls deserialization behavior when the provided field value is not encrypted.
  • Element Details

    • encrypter

      String encrypter
      Alias of encrypter to use.

      May be omitted if the crypto manager has a default encrypter.

      Default:
      "__DEFAULT__"
    • migration

      Controls deserialization behavior when the provided field value is not encrypted.

      Defaults to Encrypted.Migration.NONE.

      Since:
      3.2.1
      Default:
      NONE