This project is read-only.
Project Description
The Dynamics Ax CipherLib is a simple X.509 certificate based cipher implementation that allows to encrypt/decrypt S/MIME or XML messages with Dynamics Ax 4.0, 2009 and 2012/R2.

An example that encrypts and decrypts the message "Hello world." with a X++ job:

static void Sample(Args _args)
CipherLib.ICipher cipher = new CipherLib.Cipher.SMIME.CipherSMime("test01"
, System.Security.Cryptography.X509Certificates.StoreName::My
, System.Security.Cryptography.X509Certificates.StoreLocation::LocalMachine);

str encryptedMessage;
str decryptedMessage;
encryptedMessage = cipher.EncryptString("Hello world.");

decryptedMessage = cipher.DecryptString(encryptedMessage);


Last edited Jul 15, 2013 at 5:15 PM by fdittgen, version 2