Top |
JcatBlobKind
jcat_engine_get_kind (JcatEngine *self
);
Gets the blob kind.
Since: 0.1.3
JcatBlobMethod
jcat_engine_get_method (JcatEngine *self
);
Gets the verification method.
Since: 0.1.3
JcatResult * jcat_engine_pubkey_verify (JcatEngine *self
,GBytes *blob
,GBytes *blob_signature
,JcatVerifyFlags flags
,GError **error
);
Verifies a chunk of data.
Since: 0.1.0
JcatBlob * jcat_engine_pubkey_sign (JcatEngine *self
,GBytes *blob
,GBytes *cert
,GBytes *privkey
,JcatSignFlags flags
,GError **error
);
Signs a chunk of data.
Since: 0.1.0
JcatResult * jcat_engine_self_verify (JcatEngine *self
,GBytes *blob
,GBytes *blob_signature
,JcatVerifyFlags flags
,GError **error
);
Verifies a chunk of data.
Since: 0.1.0
JcatBlob * jcat_engine_self_sign (JcatEngine *self
,GBytes *blob
,JcatSignFlags flags
,GError **error
);
Signs a chunk of data.
Since: 0.1.0
gboolean jcat_engine_add_public_key_raw (JcatEngine *self
,GBytes *blob
,GError **error
);
Adds a public key manually.
Since: 0.1.9
struct JcatEngineClass { GObjectClass parent_class; gboolean (*setup)(JcatEngine *self, GError **error); gboolean (*add_public_key)(JcatEngine *self, const gchar *filename, GError **error); JcatResult *(*pubkey_verify)(JcatEngine *self, GBytes *blob, GBytes *blob_signature, JcatVerifyFlags flags, GError **error); JcatBlob *(*pubkey_sign)(JcatEngine *self, GBytes *blob, GBytes *cert, GBytes *privkey, JcatSignFlags flags, GError **error); JcatResult *(*self_verify)(JcatEngine *self, GBytes *blob, GBytes *blob_signature, JcatVerifyFlags flags, GError **error); JcatBlob *(*self_sign)(JcatEngine *self, GBytes *blob, JcatSignFlags flags, GError **error); gboolean (*add_public_key_raw)(JcatEngine *self, GBytes *blob, GError **error); gpointer padding[8]; };