Raxol.Security.Encryption.Config (Raxol v2.0.1)
View SourceConfiguration and policy management for encryption system.
This module manages encryption policies, compliance requirements, and configuration for different data classifications.
Data Classifications
:restricted- Highly sensitive (PII, PHI, payment data):confidential- Internal sensitive data:internal- Internal use only:public- No encryption required
Compliance Profiles
:pci_dss- Payment Card Industry:hipaa- Healthcare data:gdpr- EU personal data:sox- Financial data
Summary
Functions
Returns a specification to start this module under a supervisor.
Gets the compliance profile configuration.
Gets the encryption policy for a data classification.
Gets recommended encryption settings for data.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Updates algorithm preferences.
Sets a custom encryption policy.
Validates if encryption meets compliance requirements.
Types
@type compliance_profile() :: :pci_dss | :hipaa | :gdpr | :sox | :custom
@type data_classification() :: :restricted | :confidential | :internal | :public
@type encryption_policy() :: %{ classification: data_classification(), algorithm: atom(), key_type: atom(), key_rotation_days: pos_integer(), require_mfa: boolean(), require_audit: boolean() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Gets the compliance profile configuration.
Gets the encryption policy for a data classification.
Gets recommended encryption settings for data.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Updates algorithm preferences.
Sets a custom encryption policy.
Validates if encryption meets compliance requirements.