gmime.certificate_list

Module for [CertificateList] class

Types 3

A collection of #GMimeCertificate objects.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CertificateList self() nothrowReturns `this`, for use in `with` statements.
CertificateListGidBuilder builder() static nothrowGet builder for [gmime.certificate_list.CertificateList] Returns: New builder object
int add(gmime.certificate.Certificate cert) nothrowAdds a #GMimeCertificate to the #GMimeCertificateList.
void clear() nothrowClears the list of certificates.
bool contains(gmime.certificate.Certificate cert) nothrowChecks whether or not the specified #GMimeCertificate is contained within the #GMimeCertificateList.
gmime.certificate.Certificate getCertificate(int index) nothrowGets the #GMimeCertificate at the specified index.
int indexOf(gmime.certificate.Certificate cert) nothrowGets the index of the specified #GMimeCertificate inside the #GMimeCertificateList.
void insert(int index, gmime.certificate.Certificate cert) nothrowInserts a #GMimeCertificate into the #GMimeCertificateList at the specified index.
int length() nothrowGets the length of the list. Returns: the number of #GMimeCertificate objects in the list.
bool remove(gmime.certificate.Certificate cert) nothrowRemoves a #GMimeCertificate from the #GMimeCertificateList.
bool removeAt(int index) nothrowRemoves a #GMimeCertificate from the #GMimeCertificateList at the specified index.
void setCertificate(int index, gmime.certificate.Certificate cert) nothrowSets the #GMimeCertificate at the specified index to cert.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GMimeCertificateList. Returns: a new #GMimeCertificateList.
Methods
CertificateList build() nothrowCreate object from builder. Returns: New object