arrowHome Thursday, 20 November 2008  




 
Main Menu
Home
Platforms
Deployment
Downloads
Online Library
Tricryption
ERUCES Home
What's New
Simplify and Standardize Encryption for .NET-COM PDF Print




Simplify and standardize the entire encryption process by utilizing built-in support for ADO Recordsets, Java Rowsets, data matrixes, and files

The Encryption Framework for Enterprises provides pre-structured and validated code modules through its Tricryption Engine Key Management System, which performs automatic key generation, key integrity checks, authorization and auditing of key usage, key storage and key retrieval. 
  

See Encryption Examples for:

  


.NET / COM  Recordsets


 ' Set the initial Recordset
    Dim objRS As ADODB.Recordset
    Dim objConn As ADODB.Connection
   
    ' Connect to database
    Set objConn = New ADODB.Connection
    objConn.Open "Provider=sqloledb;Data Source=DB01;Initial Catalog=TestDB;User Id=sa;Password=dbpassword;"
   
    ' Open TestResultset table
    Set objRS = New ADODB.Recordset
    objRS.CursorLocation = adUseClient
    objRS.Open "TestResultset", objConn, adOpenStatic, adLockOptimistic, adCmdTable
    Set objRS.ActiveConnection = Nothing
   
    ' Prepare Resultset for encryption
    Dim objTEAgent As Object
    Set objTEAgent = CreateObject("comTEAgent.TEAgentRS")
    objTEAgent.setCryptColumns Array("FIRSTNAME", "LASTNAME", "ADDRESS")
    objTEAgent.setRecordset objRS, "HIDDENLINK"
   
    ' Encrypt Resultset
    objTEAgent.attachConnection objConnection
    objTEAgent.encrypt
    objTEAgent.detachConnection
  
   
    ' Get encrypted Resultset
    Set objRS = objTEAgent.getRecordset

   
    objRS.MoveFirst

 


 Open the Online SDK

 Download Source Code Examples

 
top