Crate sentinel_dbms

Crate sentinel_dbms 

Source

Re-exports§

pub use collection::Collection;
pub use document::Document;
pub use error::Result;
pub use error::SentinelError;
pub use store::Store;

Modules§

collection
document
error
store
validation

Structs§

CryptoConfig
Global cryptographic configuration. This allows runtime selection of algorithms for all default operations. Defaults to the most secure algorithms available.

Enums§

EncryptionAlgorithmChoice
Encryption algorithm options for global configuration
HashAlgorithmChoice
Hash algorithm options for global configuration
KeyDerivationAlgorithmChoice
Key derivation algorithm options for global configuration
SignatureAlgorithmChoice
Signature algorithm options for global configuration

Constants§

META_SENTINEL_VERSION
The current version of the Sentinel metadata format.

Functions§

get_global_crypto_config
Gets the current global cryptographic configuration. Returns the default configuration if none has been set.
set_global_crypto_config
Sets the global cryptographic configuration. This affects all default cryptographic operations. Must be called before any cryptographic operations for the configuration to take effect. Returns an error if the config has already been set.