Index

A B C D E F G H I L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AES_256_GCM - Enum constant in enum class br.com.seedgrid.privacy.CryptoAlgorithm
 
AesGcmCryptoService - Class in br.com.seedgrid.privacy
 
AesGcmCryptoService(String) - Constructor for class br.com.seedgrid.privacy.AesGcmCryptoService
 
apply(String, ValueNormalizer) - Method in enum class br.com.seedgrid.privacy.SearchNormalization
Aplica a normalização.
applyTemplate(String, String) - Static method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
 

B

beforeSave(Object) - Method in class br.com.seedgrid.privacy.EncryptedFieldListener
 
br.com.seedgrid.privacy - package br.com.seedgrid.privacy
 
br.com.seedgrid.privacy.masking - package br.com.seedgrid.privacy.masking
 

C

CANONICAL - Enum constant in enum class br.com.seedgrid.privacy.SearchNormalization
Canônica: trim, remove acentos (NFD), lowercase e mantém só [a-z0-9].
cep(String) - Static method in class br.com.seedgrid.privacy.masking.PersonalDataMasker
Mascara um CEP revelando a região (5 primeiros) e escondendo o sufixo.
cnpj(String) - Static method in class br.com.seedgrid.privacy.masking.PersonalDataMasker
Mascara um CNPJ revelando apenas os 2 dígitos verificadores.
configure(CryptoService) - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
configureNormalizer(ValueNormalizer) - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
configureSearchHashService(SearchHashService) - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
convertToDatabaseColumn(String) - Method in class br.com.seedgrid.privacy.EncryptedFieldAttributeConverter
 
convertToEntityAttribute(String) - Method in class br.com.seedgrid.privacy.EncryptedFieldAttributeConverter
 
cpf(String) - Static method in class br.com.seedgrid.privacy.masking.PersonalDataMasker
Mascara um CPF revelando apenas os 2 dígitos verificadores.
cryptoAlgorithm() - Element in annotation interface br.com.seedgrid.privacy.EncryptedField
 
CryptoAlgorithm - Enum Class in br.com.seedgrid.privacy
 
CryptoBootstrap - Class in br.com.seedgrid.privacy
 
CryptoBootstrap() - Constructor for class br.com.seedgrid.privacy.CryptoBootstrap
 
CryptoProperties - Class in br.com.seedgrid.privacy
 
CryptoProperties() - Constructor for class br.com.seedgrid.privacy.CryptoProperties
 
CryptoProvider - Class in br.com.seedgrid.privacy
 
CryptoService - Interface in br.com.seedgrid.privacy
 

D

decrypt(String) - Method in class br.com.seedgrid.privacy.AesGcmCryptoService
 
decrypt(String) - Method in interface br.com.seedgrid.privacy.CryptoService
 
DefaultValueNormalizer - Class in br.com.seedgrid.privacy
 
DefaultValueNormalizer() - Constructor for class br.com.seedgrid.privacy.DefaultValueNormalizer
 

E

EMAIL - Enum constant in enum class br.com.seedgrid.privacy.SearchNormalization
E-mail: apenas trim + lowercase, preservando @ . - _ etc.
encrypt(String) - Method in class br.com.seedgrid.privacy.AesGcmCryptoService
 
encrypt(String) - Method in interface br.com.seedgrid.privacy.CryptoService
 
EncryptedField - Annotation Interface in br.com.seedgrid.privacy
Marca um campo String como sensivel: cifrado no banco (reversivel) e, opcionalmente, pesquisavel por igualdade via um campo auxiliar de hash deterministico.
EncryptedFieldAttributeConverter - Class in br.com.seedgrid.privacy
Cifra/decifra um campo String de forma transparente (@Convert).
EncryptedFieldAttributeConverter() - Constructor for class br.com.seedgrid.privacy.EncryptedFieldAttributeConverter
 
EncryptedFieldListener - Class in br.com.seedgrid.privacy
 
EncryptedFieldListener() - Constructor for class br.com.seedgrid.privacy.EncryptedFieldListener
 
EncryptedFieldSearch - Class in br.com.seedgrid.privacy
 
EncryptedFieldSearch() - Constructor for class br.com.seedgrid.privacy.EncryptedFieldSearch
 
EncryptedFieldSearch(ValueNormalizer, SearchHashService) - Constructor for class br.com.seedgrid.privacy.EncryptedFieldSearch
 
ENCRYPTION_ENABLED_PROPERTY - Static variable in class br.com.seedgrid.privacy.CryptoProvider
Propriedade que liga/desliga a criptografia at-rest dos @EncryptedField.
equals(Object) - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Indicates whether some other object is "equal to" this one.
extractVisible(String) - Method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
 

F

field() - Element in annotation interface br.com.seedgrid.privacy.masking.MaskRule
Caminho do campo.
fieldPath() - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Returns the value of the fieldPath record component.
FORMAT - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Preserva o formato (CPF, telefone etc) usando o próprio param como máscara pronta.
FULL - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Substitui todo o valor por um fixo (default "***").

G

getCryptoKey() - Method in class br.com.seedgrid.privacy.CryptoProperties
 
getCryptoService() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
getNormalizer() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
getSearchHashService() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
getSearchKey() - Method in class br.com.seedgrid.privacy.CryptoProperties
 
getSecureSearch() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 

H

hash(String) - Method in class br.com.seedgrid.privacy.HmacSha256SearchHashService
 
hash(String) - Method in interface br.com.seedgrid.privacy.SearchHashService
 
HASH - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Hash irreversível (SHA-256 hex) — LGPD safe para lookup sem revelar o valor.
hashCode() - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Returns a hash code value for this object.
hashForSearch(String) - Method in class br.com.seedgrid.privacy.EncryptedFieldSearch
Hash de busca com normalizacao SearchNormalization.CANONICAL.
hashForSearch(String, SearchNormalization) - Method in class br.com.seedgrid.privacy.EncryptedFieldSearch
Hash de busca respeitando o normalize do campo — DEVE usar o mesmo SearchNormalization do @EncryptedField que o EncryptedFieldListener aplicou ao gravar, senao a busca por hash nao encontra o registro.
HMAC_SHA256 - Enum constant in enum class br.com.seedgrid.privacy.SearchAlgorithm
 
HmacSha256SearchHashService - Class in br.com.seedgrid.privacy
 
HmacSha256SearchHashService(String) - Constructor for class br.com.seedgrid.privacy.HmacSha256SearchHashService
 

I

isEncrypted(String) - Method in class br.com.seedgrid.privacy.AesGcmCryptoService
 
isEncrypted(String) - Method in interface br.com.seedgrid.privacy.CryptoService
 
isEncryptionEnabled() - Static method in class br.com.seedgrid.privacy.CryptoProvider
A criptografia at-rest esta ligada?
isRemoval() - Method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
true apenas para MaskingStrategy.REMOVE (operação estrutural, não de valor).

L

loadConfiguredProperties() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
looksEncrypted(String) - Static method in class br.com.seedgrid.privacy.CryptoProvider
Um valor ja cifrado por esta lib?

M

mask(String, MaskingStrategy, String) - Static method in class br.com.seedgrid.privacy.masking.PersonalDataMasker
Aplica uma estratégia a um valor.
MaskingStrategy - Enum Class in br.com.seedgrid.privacy.masking
Estratégias de mascaramento de dados pessoais, em nível de valor (string → string).
MaskRule - Annotation Interface in br.com.seedgrid.privacy.masking
Regra de mascaramento por caminho de campo, aplicada por quem chama o PersonalDataSanitizer (ex.: regras específicas de um endpoint, que vencem as anotações PersonalData do modelo).
maskValue(String, String) - Method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Transforma o valor conforme a estratégia.
maskWith() - Element in annotation interface br.com.seedgrid.privacy.masking.MaskRule
Parâmetro da estratégia (opcional).
maskWith() - Element in annotation interface br.com.seedgrid.privacy.masking.PersonalData
Interpretação depende do type: FULL: valor fixo (default "***") TEMPLATE: gabarito com # (revela) e * (mascara), ex.: "###
maskWith() - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Returns the value of the maskWith record component.

N

NONE - Enum constant in enum class br.com.seedgrid.privacy.SearchNormalization
Sem normalização: hash do valor exato, byte a byte (case-sensitive).
normalize() - Element in annotation interface br.com.seedgrid.privacy.EncryptedField
Como normalizar o valor antes de gerar o hash de busca — para que variacoes de formatacao do MESMO dado gerem o MESMO hash e a busca por igualdade funcione independentemente de como o usuario digitou.
normalize(String) - Method in class br.com.seedgrid.privacy.DefaultValueNormalizer
 
normalize(String) - Method in interface br.com.seedgrid.privacy.ValueNormalizer
 
notBlank(String) - Static method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
 

P

PARTIAL - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Mostra apenas os últimos N caracteres (param = N, default 2).
PersonalData - Annotation Interface in br.com.seedgrid.privacy.masking
Marca um campo (ou getter) como dado pessoal (LGPD/GDPR) que deve ser mascarado quando o objeto for redigido pelo PersonalDataSanitizer (ex.: trilha de auditoria, export).
PersonalDataMasker - Class in br.com.seedgrid.privacy.masking
Mascaramento de dados pessoais em nível de valor (string → string), para uso direto em e-mails, notificações, logs ou qualquer texto — sem precisar do caminho de objeto→JSON.
PersonalDataResolver - Class in br.com.seedgrid.privacy.masking
Resolve, para um tipo, os caminhos de campo anotados com PersonalData e a estratégia de cada um.
PersonalDataResolver(ObjectMapper) - Constructor for class br.com.seedgrid.privacy.masking.PersonalDataResolver
 
PersonalDataResolver.ResolvedRule - Record Class in br.com.seedgrid.privacy.masking
 
PersonalDataSanitizer - Class in br.com.seedgrid.privacy.masking
Serializa um objeto para JSON aplicando mascaramento de dados pessoais.
PersonalDataSanitizer(ObjectMapper, PersonalDataResolver) - Constructor for class br.com.seedgrid.privacy.masking.PersonalDataSanitizer
 

R

remove() - Element in annotation interface br.com.seedgrid.privacy.masking.MaskRule
Se true, remove o campo do JSON (equivale a MaskingStrategy.REMOVE).
REMOVE - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Remove o campo por completo (estrutural).
resetForTests() - Static method in class br.com.seedgrid.privacy.CryptoProvider
 
ResolvedRule(String, MaskingStrategy, String) - Constructor for record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Creates an instance of a ResolvedRule record class.
resolveRules(Class<?>) - Method in class br.com.seedgrid.privacy.masking.PersonalDataResolver
 

S

sanitize(T, Class<T>) - Method in class br.com.seedgrid.privacy.masking.PersonalDataSanitizer
Sobrecarga sem regras de override.
sanitize(T, Class<T>, MaskRule[]) - Method in class br.com.seedgrid.privacy.masking.PersonalDataSanitizer
Redige o objeto e devolve uma nova instância do mesmo tipo com os campos de dados pessoais mascarados.
sanitizeToJson(Object, MaskRule[]) - Method in class br.com.seedgrid.privacy.masking.PersonalDataSanitizer
Sobrecarga sem modelo fonte.
sanitizeToJson(Object, Class<?>, MaskRule[]) - Method in class br.com.seedgrid.privacy.masking.PersonalDataSanitizer
 
searchAlgorithm() - Element in annotation interface br.com.seedgrid.privacy.EncryptedField
 
SearchAlgorithm - Enum Class in br.com.seedgrid.privacy
 
searchField() - Element in annotation interface br.com.seedgrid.privacy.EncryptedField
Nome do campo IRMAO (no mesmo objeto/embeddable) que guarda o hash de busca deterministico.
SearchHashService - Interface in br.com.seedgrid.privacy
 
SearchNormalization - Enum Class in br.com.seedgrid.privacy
Como normalizar um valor antes de gerar o hash de busca de um EncryptedField.
setCryptoKey(String) - Method in class br.com.seedgrid.privacy.CryptoProperties
 
setEncryptionEnabledForTests(boolean) - Static method in class br.com.seedgrid.privacy.CryptoProvider
Liga/desliga a criptografia programaticamente (apenas testes).
setSearchKey(String) - Method in class br.com.seedgrid.privacy.CryptoProperties
 

T

TEMPLATE - Enum constant in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Gabarito posicional: '#' revela o caractere do valor naquela posição, '*' mascara, qualquer outro caractere é literal.
toString() - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Returns a string representation of this record class.
type() - Element in annotation interface br.com.seedgrid.privacy.masking.MaskRule
 
type() - Element in annotation interface br.com.seedgrid.privacy.masking.PersonalData
Estratégia aplicada quando esse campo aparecer no JSON.
type() - Method in record class br.com.seedgrid.privacy.masking.PersonalDataResolver.ResolvedRule
Returns the value of the type record component.

V

ValueNormalizer - Interface in br.com.seedgrid.privacy
 
valueOf(String) - Static method in enum class br.com.seedgrid.privacy.CryptoAlgorithm
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.com.seedgrid.privacy.SearchAlgorithm
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class br.com.seedgrid.privacy.SearchNormalization
Returns the enum constant of this class with the specified name.
values() - Static method in enum class br.com.seedgrid.privacy.CryptoAlgorithm
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.com.seedgrid.privacy.masking.MaskingStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.com.seedgrid.privacy.SearchAlgorithm
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class br.com.seedgrid.privacy.SearchNormalization
Returns an array containing the constants of this enum class, in the order they are declared.
A B C D E F G H I L M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values