Annotation Type Encrypted
-
@Volatile @Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,METHOD,FIELD}) public @interface Encrypted
Indicates the annotated field should be encrypted during serialization and decrypted during deserialization.May be used as a meta-annotation.
- See Also:
EncryptionModule
,RepackagedEncryptionModule
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
encrypter
Alias of encrypter to use.Encrypted.Migration
migration
Controls deserialization behavior when the provided field value is not encrypted.
-
-
-
Element Detail
-
encrypter
String encrypter
Alias of encrypter to use.May be omitted if the crypto manager has a default encrypter.
- Default:
- "__DEFAULT__"
-
-
-
migration
@Volatile Encrypted.Migration migration
Controls deserialization behavior when the provided field value is not encrypted.Defaults to
Encrypted.Migration.NONE
.- Since:
- 3.2.1
- Default:
- com.couchbase.client.java.encryption.annotation.Encrypted.Migration.NONE
-
-