Constructor

CamelCipherContextnew

Declaration [src]

CamelCipherContext*
camel_cipher_context_new (
  CamelSession* session
)

Description [src]

This creates a new CamelCipherContext object which is used to sign, verify, encrypt and decrypt streams.

Parameters

session

Type: CamelSession

A CamelSession.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: CamelCipherContext

The new CamelCipherContext.

The caller of the function takes ownership of the data, and is responsible for freeing it.