Jcat.BtCheckpoint

g GObject.Object GObject.Object Jcat.BtCheckpoint Jcat.BtCheckpoint GObject.Object->Jcat.BtCheckpoint

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (blob)

get_hash ()

get_identity ()

get_log_size ()

get_origin ()

get_payload ()

get_pubkey ()

get_signature ()

to_string ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Jcat.BtCheckpoint(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Jcat.BtCheckpointClass

classmethod new(blob)
Parameters:

blob (GLib.Bytes) – a GLib.Bytes

Raises:

GLib.Error

Returns:

a Jcat.BtCheckpoint, or None on error

Return type:

Jcat.BtCheckpoint

Converts the Jcat.BtCheckpoint to a string.

New in version 0.2.0.

get_hash()
Returns:

string, or None

Return type:

str

Gets the first 4 bytes of the SHA256 hash of the associated public key to act as a hint in identifying the correct key to verify with.

New in version 0.2.0.

get_identity()
Returns:

string, or None

Return type:

str

Gets a human-readable representation of the signing ID.

New in version 0.2.0.

get_log_size()
Returns:

integer

Return type:

int

Gets the log_size.

New in version 0.2.0.

get_origin()
Returns:

string, or None

Return type:

str

Gets the unique identifier for the log identity which issued the checkpoint.

New in version 0.2.0.

get_payload()
Returns:

blob, or None

Return type:

GLib.Bytes

Gets the ED25519 public key blob.

New in version 0.2.0.

get_pubkey()
Returns:

blob, or None

Return type:

GLib.Bytes

Gets the ED25519 public key blob.

New in version 0.2.0.

get_signature()
Returns:

blob, or None

Return type:

GLib.Bytes

Gets the ED25519 public key blob.

New in version 0.2.0.

to_string()
Returns:

string

Return type:

str

Converts the Jcat.BtCheckpoint to a string.

New in version 0.2.0.