- addSensitiveDataName
void addSensitiveDataName(string name, SecurityLevel level)
Adds a sensitive data name.
- addSensitiveDataPattern
void addSensitiveDataPattern(string pattern, SecurityLevel level, bool updateRegex)
Adds a sensitive data pattern.
- clearSensitiveDataNames
void clearSensitiveDataNames()
Clears all sensitive data names.
- clearSensitiveDataPatterns
void clearSensitiveDataPatterns()
Clears all sensitive data patterns.
- hasSensitiveData
bool hasSensitiveData(string data, SecurityLevel level)
Checks whether a specific string contains sensitive data.
- initializeSensitiveDataValidator
void initializeSensitiveDataValidator()
Initializing the sensitive data validator.
- removeSensitiveDataName
void removeSensitiveDataName(string name, SecurityLevel level)
Removes a sensitive data name.
- removeSensitiveDataPattern
void removeSensitiveDataPattern(string pattern, SecurityLevel level)
Removes a sensitive data pattern.
- validateSensitiveData
void validateSensitiveData(string data, SecurityLevel level)
Checks whether a specific string contains sensitive data.
Copyright © DiamondMVC 2019