IEncrypted |
The IEncryptedDbProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| CanCancelCommands |
True if this provider can cancel commands
(Inherited from IDbProvider) | |
| ConnectionString |
Read/write connection string
(Inherited from IDbProvider) | |
| Invariant |
Get name of the provider
(Inherited from IDbProvider) | |
| MonitorProbe |
Gets the prove for the provider
(Inherited from IDbProvider) | |
| ReadonlyConnectionString |
Readonly (mirror) connection string
(Inherited from IDbProvider) | |
| StatementFactory |
Gets the statement factory for this provider
(Inherited from IDbProvider) | |
| TraceSql |
Trace SQL commands
(Inherited from IDbProvider) |
| Name | Description | |
|---|---|---|
| CloneConnection |
Get connection to a specified connection string
(Inherited from IDbProvider) | |
| ConvertValue(Object, Type) |
Convert value
(Inherited from IDbProvider) | |
| ConvertValueT(Object) |
Convert value
(Inherited from IDbProvider) | |
| CreateCommand(DataContext, SqlStatement) |
Creates a command on the specified transaction
(Inherited from IDbProvider) | |
| CreateCommand(DataContext, String, Object) |
Create command with specified text and parameters
(Inherited from IDbProvider) | |
| CreateStoredProcedureCommand |
Creates a stored procedure call command
(Inherited from IDbProvider) | |
| GetDatabaseName |
Get the name of the database
(Inherited from IDbProvider) | |
| GetEncryptionProvider | Get the encryption provider | |
| GetReadonlyConnection |
Retrieves a readonly connection
(Inherited from IDbProvider) | |
| GetWriteConnection |
Retrieves a read/writer connection
(Inherited from IDbProvider) | |
| InitializeConnection |
Allows te database connection provider to initialize the connection
(Inherited from IDbProvider) | |
| MapParameterType |
Map a type to parameter type
(Inherited from IDbProvider) | |
| MapSchemaDataType |
Map datatype
(Inherited from IDbProvider) | |
| MigrateEncryption | Migrate the encryption | |
| Optimize |
Optimize the databases
(Inherited from IDbProvider) | |
| SetEncryptionSettings | Set the encryption certificate |
| Name | Description | |
|---|---|---|
| CreateBackupAsset |
Create a backup asset for a provider
(Defined by SqlFeatureUtil) | |
| GetDataConfigurationProvider |
Get the configuration provider
(Defined by SqlFeatureUtil) | |
| RestoreBackupAsset |
Restore a backup asset
(Defined by SqlFeatureUtil) | |
| UpgradeSchema |
Upgrade schema
(Defined by SqlFeatureUtil) | |
| UpgradeSchema |
Upgrade the schema
(Defined by SqlFeatureUtil) |
Some database management systems don't have the ability to perform Transparent Data Encryption, this marker interface is used so that SanteDB can encrypt data at the application layer as a fallback. There are several disadvantages to using ALE, namely that searching must be performed on exact matching and the application server is responsible for encrypting data to/from the database. This interface allows the ORM components to encrypt data using a Symmetric Master Key (SMK) which is encrypted and stored in the database using the application master key (AMK) which is on the application server represented by [!:EncryptionCertificate].
The ORM components then use the GetEncryptionProvider method to encrypt and decrypt any columns which are annotated with ApplicationEncryptAttribute transaprently from the caller