cipher_canonical_to_stream


Description:


public int cipher_canonical_to_stream (MimePart part, uint32 flags, Stream ostream, Cancellable? cancellable = null) throws Error

Writes a part to a stream in a canonicalised format, suitable for signing/encrypting.

The transfer encoding paramaters for the part may be changed by this function.

Parameters:

part

Part to write.

flags

flags for the canonicalisation filter (CamelMimeFilterCanon)

ostream

stream to write canonicalised output to.

cancellable

optional Cancellable object, or null

Returns:

-1 on error;


Namespace: Camel
Package: camel-1.2