C Wegrzyn wrote:

> BTW, this is a programming issue so using a command line function isn't
> useful. I have an X509 certificate and a pointer to a data buffer. Using
> the X509 cert and given a pre-determined block-chaining cipher (from the
> Openssl collection) I need to encrypt and decrypt the contents of the
> buffer. Can anyone assist me?

X509_get_pubkey(),
EVP_EncryptInit()/Update()/Final()
EVP_DecryptInit()/Update()/Final()

Bye

Goetz

-- 
DMCA: The greed of the few outweighs the freedom of the many

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to