Jcat.Engine – jcat Reference Manual
Packages
jcat
Jcat
Engine
context
kind
method
verify_kind
Engine
add_public_key
add_public_key_raw
get_kind
get_method
pubkey_sign
pubkey_verify
self_sign
self_verify
setup
Engine
Object Hierarchy:
Description:
[
CCode
( type_id =
"jcat_engine_get_type ()"
) ]
public
class
Engine
:
Object
Namespace:
Jcat
Package:
jcat
Content:
Properties:
public
Context
context
{
owned
get
;
construct
; }
public
uint
kind
{
get
;
construct
; }
public
uint
method
{
get
;
construct
; }
public
uint
verify_kind
{
get
; }
Creation methods:
protected
Engine
()
Methods:
public
virtual
bool
add_public_key
(
string
filename)
throws
Error
public
virtual
bool
add_public_key_raw
(
Bytes
blob)
throws
Error
Adds a public key manually.
public
BlobKind
get_kind
()
Gets the blob kind.
public
BlobMethod
get_method
()
Gets the verification method.
public
virtual
Blob
pubkey_sign
(
Bytes
blob,
Bytes
cert,
Bytes
privkey,
SignFlags
flags)
throws
Error
Signs a chunk of data.
public
virtual
Result
pubkey_verify
(
Bytes
blob,
Bytes
blob_signature,
VerifyFlags
flags)
throws
Error
Verifies a chunk of data.
public
virtual
Blob
self_sign
(
Bytes
blob,
SignFlags
flags)
throws
Error
Signs a chunk of data.
public
virtual
Result
self_verify
(
Bytes
blob,
Bytes
blob_signature,
VerifyFlags
flags)
throws
Error
Verifies a chunk of data.
public
virtual
bool
setup
()
throws
Error
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