Jcat.Result

g GObject.Object GObject.Object Jcat.Result Jcat.Result GObject.Object->Jcat.Result

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_authority ()

get_kind ()

get_method ()

get_timestamp ()

to_string ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

authority

str

r/w

engine

Jcat.Engine

r/w/co

timestamp

int

r/w

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Jcat.Result(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Jcat.ResultClass

get_authority()
Returns:

string, or None

Return type:

str

Gets the signing authority, if set.

New in version 0.1.0.

get_kind()
Returns:

Jcat.BlobKind, e.g. Jcat.BlobKind.SHA256

Return type:

Jcat.BlobKind

Gets the blob kind.

New in version 0.1.3.

get_method()
Returns:

Jcat.BlobMethod, e.g. Jcat.BlobMethod.SIGNATURE

Return type:

Jcat.BlobMethod

Gets the verification kind.

New in version 0.1.3.

get_timestamp()
Returns:

UNIX timestamp, or 0 if unset

Return type:

int

Gets the signing timestamp, if set.

New in version 0.1.0.

to_string()
Returns:

string

Return type:

str

Converts the Jcat.Result to a string.

New in version 0.1.0.

Property Details

Jcat.Result.props.authority
Name:

authority

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Jcat.Result.props.engine
Name:

engine

Type:

Jcat.Engine

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Jcat.Result.props.timestamp
Name:

timestamp

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE