Camel.GpgKeyInfo

Fields

None

Methods

copy ()

free ()

get_creation_date ()

get_fingerprint ()

get_id ()

get_trust ()

get_user_ids ()

Details

class Camel.GpgKeyInfo

An opaque structure holding information about a user key.

New in version 3.50.

copy()
Returns:

a copy of the self, or None, when the self is also None

Return type:

Camel.GpgKeyInfo or None

Copies the self to a new Camel.GpgKeyInfo structure.

New in version 3.50.

free()

Frees the self previously allocated by Camel.GpgContext.get_public_key_info_sync(), Camel.GpgContext.get_key_data_info_sync() or Camel.GpgKeyInfo.copy().

New in version 3.50.

get_creation_date()
Returns:

key creation date

Return type:

int

Gets the key creating date, as seconds since the Unix Epoch.

New in version 3.50.

get_fingerprint()
Returns:

key fingerprint

Return type:

str

Gets the key fingerprint.

New in version 3.50.

get_id()
Returns:

key ID

Return type:

str

Gets the key ID.

New in version 3.50.

get_trust()
Returns:

key trust level

Return type:

Camel.GpgTrust

Gets the key trust level, as one of Camel.GpgTrust.

New in version 3.50.

get_user_ids()
Returns:

key user IDs

Return type:

[str]

Gets the user IDs associated with the key.

New in version 3.50.