package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
HasTypeAwareSupport return true if setting configured for decryption with type awareness.
IsBinaryDataOperation return true if setting related to operation over binary data.
MapTableSchemaStoreFromConfig parse config and return MapTableSchemaStore with data from config.
NewMapTableSchemaStore return new MapTableSchemaStore.
ValidateCryptoEnvelopeType return error if value is unsupported CryptoEnvelopeType.
# Constants
Supported CryptoEnvelopeTypes.
Supported CryptoEnvelopeTypes.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
set of flags according to BasicColumnEncryptionSetting public fields except Name which is required.
UseMySQL represent constant for switching mode of encryptor config.
UseMySQL represent constant for switching mode of encryptor config.
# Variables
ErrInvalidCryptoEnvelopeType used for invalid values of CryptoEnvelopeType.
ErrInvalidEncryptorConfig has invalid configuration.
# Structs
BasicColumnEncryptionSetting is a basic set of column encryption settings.
MapTableSchemaStore store schemas per table name.
# Interfaces
ColumnEncryptionSetting describes how to encrypt a table column.
DatabaseSettings stores different database-specific configuration options.
Defaults default parameters that may be configured for whole config to allow omit them for specific columns.
MySQLDatabaseSettings stores MySQL-specific configuration.
PostgreSQLDatabaseSettings stores PostgreSQL-specific configuration.
TableSchema describes a table and its encryption settings per column.
TableSchemaStore fetches schema for encryptable tables in the database.
# Type aliases
CryptoEnvelopeType type of crypto envelope for encryptors.
SettingMask bitmask used to store info about encryptor configuration.