Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Decrypt a .p7m File
Decrypts a .p7m file. CkByteData p7mData; CkByteData decryptedData; p7mData.loadFile("item.p7m"); CkCrypt2 crypt; crypt.UnlockComponent("Anything for 30-day trial"); crypt.put_CryptAlgorithm("pki"); bool b = crypt.DecryptBytes(p7mData,decryptedData); if (!b) { crypt.SaveLastError("errorLog.txt"); } else { decryptedData.saveFile("out.txt"); }
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.