gmime.certificate_list

Module for [CertificateList] class

Types 3

A collection of #GMimeCertificate objects.

Methods
GType _gType() @property
CertificateList self()Returns `this`, for use in `with` statements.
CertificateListGidBuilder builder()Get builder for [gmime.certificate_list.CertificateList] Returns: New builder object
int add(gmime.certificate.Certificate cert)Adds a #GMimeCertificate to the #GMimeCertificateList.
void clear()Clears the list of certificates.
bool contains(gmime.certificate.Certificate cert)Checks whether or not the specified #GMimeCertificate is contained within the #GMimeCertificateList.
gmime.certificate.Certificate getCertificate(int index)Gets the #GMimeCertificate at the specified index.
int indexOf(gmime.certificate.Certificate cert)Gets the index of the specified #GMimeCertificate inside the #GMimeCertificateList.
void insert(int index, gmime.certificate.Certificate cert)Inserts a #GMimeCertificate into the #GMimeCertificateList at the specified index.
int length()Gets the length of the list. Returns: the number of #GMimeCertificate objects in the list.
bool remove(gmime.certificate.Certificate cert)Removes a #GMimeCertificate from the #GMimeCertificateList.
bool removeAt(int index)Removes a #GMimeCertificate from the #GMimeCertificateList at the specified index.
void setCertificate(int index, gmime.certificate.Certificate cert)Sets the #GMimeCertificate at the specified index to cert.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeCertificateList. Returns: a new #GMimeCertificateList.

Fluent builder for [gmime.certificate_list.CertificateList]