FilterOpenPGP

A filter to detect OpenPGP markers.

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Creates a new #GMimeFilterOpenPGP filter.

Members

Functions

getBeginOffset
long getBeginOffset()

Gets the stream offset of the beginning of the OpenPGP data block, if any have been found.

getDataType
gmime.types.OpenPGPData getDataType()

Gets the type of OpenPGP data that has been detected.

getEndOffset
long getEndOffset()

Gets the stream offset of the end of the OpenPGP data block, if any have been found.

self
FilterOpenPGP self()

Returns this, for use in with statements.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
builder
FilterOpenPGPGidBuilder builder()

Get builder for gmime.filter_open_pgp.FilterOpenPGP

Inherited Members

From Filter

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
Filter self()

Returns this, for use in with statements.

builder
FilterGidBuilder builder()

Get builder for gmime.filter.Filter

backup
void backup(ubyte[] data)

Sets number of bytes backed up on the input, new calls replace previous ones

complete
void complete(ubyte[] inbuf, size_t prespace, ubyte[] outbuf, size_t outprespace)

Completes the filtering.

copy
gmime.filter.Filter copy()

Copies filter into a new #GMimeFilter object.

filter
void filter(ubyte[] inbuf, size_t prespace, ubyte[] outbuf, size_t outprespace)

Filters the input data and writes it to out.

reset
void reset()

Resets the filter.

setSize
void setSize(size_t size, bool keep)

Ensure this much size is available for filter output (if required)