GMime.Certificate – gmime-3.0 Reference Manual
Packages
gmime-3.0
GMime
Certificate
Certificate
get_created
get_created64
get_digest_algo
get_email
get_expires
get_expires64
get_fingerprint
get_id_validity
get_issuer_name
get_issuer_serial
get_key_id
get_name
get_pubkey_algo
get_trust
get_user_id
set_created
set_digest_algo
set_email
set_expires
set_fingerprint
set_id_validity
set_issuer_name
set_issuer_serial
set_key_id
set_name
set_pubkey_algo
set_trust
set_user_id
created
digest_algo
email
expires
fingerprint
id_validity
issuer_name
issuer_serial
keyid
name
pubkey_algo
trust
user_id
Certificate
Object Hierarchy:
Description:
[
CCode
( type_id =
"g_mime_certificate_get_type ()"
) ]
public
class
Certificate
:
Object
An object containing useful information about a certificate.
Namespace:
GMime
Package:
gmime-3.0
Content:
Creation methods:
public
Certificate
()
Creates a new
Certificate
object.
Methods:
public
time_t
get_created
()
Get the creation date of the certificate's key.
public
int64
get_created64
()
Get the creation date of the certificate's key in seconds since the UNIX epoch, represented as a 64-bit signed integer.
public
DigestAlgo
get_digest_algo
()
Get the digest algorithm used by the certificate.
public
unowned
string
get_email
()
Get the email address associated with the certificate.
public
time_t
get_expires
()
Get the expiration date of the certificate's key.
public
int64
get_expires64
()
Get the expiration date of the certificate's key in seconds since the UNIX epoch, represented as a 64-bit signed integer.
public
unowned
string
get_fingerprint
()
Get the certificate's key fingerprint.
public
Validity
get_id_validity
()
Get the validity of the certificate's identity information.
public
unowned
string
get_issuer_name
()
Get the certificate's issuer name.
public
unowned
string
get_issuer_serial
()
Get the certificate's issuer serial.
public
unowned
string
get_key_id
()
Get the certificate's key id.
public
unowned
string
get_name
()
Get the name associated with the certificate.
public
PubKeyAlgo
get_pubkey_algo
()
Get the public-key algorithm used by the certificate.
public
Trust
get_trust
()
Get the certificate trust.
public
unowned
string
get_user_id
()
Get the certificate's full User ID.
public
void
set_created
(
time_t
created)
Set the creation date of the certificate's key.
public
void
set_digest_algo
(
DigestAlgo
algo)
Set the digest algorithm used by the certificate.
public
void
set_email
(
string
email)
Set the email address associated with the certificate.
public
void
set_expires
(
time_t
expires)
Set the expiration date of the certificate's key.
public
void
set_fingerprint
(
string
fingerprint)
Set the certificate's key fingerprint.
public
void
set_id_validity
(
Validity
validity)
Set the validity associated with the certificate's name, email, and user_id.
public
void
set_issuer_name
(
string
issuer_name)
Set the certificate's issuer name.
public
void
set_issuer_serial
(
string
issuer_serial)
Set the certificate's issuer serial.
public
void
set_key_id
(
string
key_id)
Set the certificate's key id.
public
void
set_name
(
string
name)
Set the name associated with the certificate.
public
void
set_pubkey_algo
(
PubKeyAlgo
algo)
Set the public-key algorithm used by the certificate.
public
void
set_trust
(
Trust
trust)
Set the certificate trust.
public
void
set_user_id
(
string
user_id)
Set the certificate's full User ID.
Fields:
public
time_t
created
public
DigestAlgo
digest_algo
public
unowned
string
email
public
time_t
expires
public
unowned
string
fingerprint
public
Validity
id_validity
public
unowned
string
issuer_name
public
unowned
string
issuer_serial
public
unowned
string
keyid
public
unowned
string
name
public
PubKeyAlgo
pubkey_algo
public
Trust
trust
public
unowned
string
user_id
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref