Uses of Interface
com.babelqueue.gdpr.Cipher
Packages that use Cipher
Package
Description
Optional runtime GDPR field encryption (ADR-0030): the SDK-enforcement half of the
registry's
x-gdpr-sensitive declaration.-
Uses of Cipher in com.babelqueue.gdpr
Classes in com.babelqueue.gdpr that implement CipherModifier and TypeClassDescriptionfinal classA referenceCipherbuilt ONLY on the JDK'sjavax.crypto(AES/GCM/NoPadding): AES-GCM authenticated encryption with a fresh random 12-byte IV per call, the IV prepended to the ciphertext, the whole thing Base64-encoded so it drops straight into a JSON string.Methods in com.babelqueue.gdpr with parameters of type CipherModifier and TypeMethodDescriptionstatic voidEncrypts, in place, every value indatalocated at a path the schema markedx-gdpr-sensitive— the producer-side step, run after buildingdataand before encode/publish.static voidThe consumer-side inverse ofGdpr.protect(java.util.Map<java.lang.String, java.lang.Object>, java.util.Map<java.lang.String, java.lang.Object>, com.babelqueue.gdpr.Cipher): decrypts, in place, every value indataat anx-gdpr-sensitivepath, restoring the original JSON value byte-for-byte.