/usr/share/vala/vapi/gcr-3.vapi is in libgcr-3-dev 3.18.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 | /* gcr-3.vapi generated by vapigen-0.28, do not modify. */
[CCode (cprefix = "Gcr", gir_namespace = "Gcr", gir_version = "3.broken", lower_case_cprefix = "gcr_")]
namespace Gcr {
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_certificate_chain_get_type ()")]
public class CertificateChain : GLib.Object {
[CCode (has_construct_function = false)]
public CertificateChain ();
public void add (Gcr.Certificate certificate);
public bool build (string purpose, string? peer, uint flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool build_async (string purpose, string? peer, uint flags, GLib.Cancellable? cancellable) throws GLib.Error;
public unowned Gcr.Certificate get_anchor ();
public unowned Gcr.Certificate get_certificate (uint index);
public unowned Gcr.Certificate get_endpoint ();
public uint get_length ();
public Gcr.CertificateChainStatus get_status ();
public uint length { get; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_certificate_request_get_type ()")]
public class CertificateRequest : GLib.Object {
[CCode (has_construct_function = false)]
protected CertificateRequest ();
public static bool capable (Gck.Object private_key, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static async bool capable_async (Gck.Object private_key, GLib.Cancellable? cancellable) throws GLib.Error;
public bool complete (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool complete_async (GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (array_length_pos = 1.1, array_length_type = "gsize")]
public uint8[] encode (bool textual);
public Gcr.CertificateRequestFormat get_format ();
public unowned Gck.Object get_private_key ();
public static Gcr.CertificateRequest prepare (Gcr.CertificateRequestFormat format, Gck.Object private_key);
public void set_cn (string cn);
public Gck.Object private_key { get; construct; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_filter_collection_get_type ()")]
public class FilterCollection : GLib.Object, Gcr.Collection {
[CCode (has_construct_function = false)]
protected FilterCollection ();
public unowned Gcr.Collection get_underlying ();
public void refilter ();
public void set_callback (owned Gcr.FilterCollectionFunc? callback);
[CCode (has_construct_function = false, type = "GcrCollection*")]
public FilterCollection.with_callback (Gcr.Collection underlying, owned Gcr.FilterCollectionFunc? callback);
public Gcr.Collection underlying { get; construct; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gcr_parsed_get_type ()")]
[Compact]
public class Parsed {
public unowned Gck.Attributes get_attributes ();
public unowned GLib.Bytes get_bytes ();
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public unowned uint8[] get_data ();
public unowned string get_description ();
public unowned string get_filename ();
public Gcr.DataFormat get_format ();
public unowned string get_label ();
public Gcr.Parsed @ref ();
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_parser_get_type ()")]
public class Parser : GLib.Object {
[CCode (has_construct_function = false)]
public Parser ();
public void add_password (string? password);
public void format_disable (Gcr.DataFormat format);
public void format_enable (Gcr.DataFormat format);
public bool format_supported (Gcr.DataFormat format);
public unowned string get_filename ();
public unowned Gcr.Parsed get_parsed ();
public unowned Gck.Attributes get_parsed_attributes ();
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public unowned uint8[] get_parsed_block ();
public unowned GLib.Bytes get_parsed_bytes ();
public unowned string get_parsed_description ();
public Gcr.DataFormat get_parsed_format ();
public unowned string get_parsed_label ();
public bool parse_bytes (GLib.Bytes data) throws GLib.Error;
public bool parse_data ([CCode (array_length_cname = "n_data", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data) throws GLib.Error;
public bool parse_stream (GLib.InputStream input, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool parse_stream_async (GLib.InputStream input, GLib.Cancellable? cancellable) throws GLib.Error;
public void set_filename (string? filename);
public Gck.Attributes parsed_attributes { get; }
public string parsed_description { get; }
public string parsed_label { get; }
public virtual signal bool authenticate (int count);
public virtual signal void parsed ();
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_pkcs11_certificate_get_type ()")]
public class Pkcs11Certificate : Gck.Object, Gcr.Certificate, Gcr.Comparable {
[CCode (has_construct_function = false)]
protected Pkcs11Certificate ();
public unowned Gck.Attributes get_attributes ();
public static Gcr.Certificate lookup_issuer (Gcr.Certificate certificate, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static async Gcr.Certificate lookup_issuer_async (Gcr.Certificate certificate, GLib.Cancellable? cancellable) throws GLib.Error;
public Gck.Attributes attributes { get; construct; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_secret_exchange_get_type ()")]
public class SecretExchange : GLib.Object {
[CCode (has_construct_function = false)]
public SecretExchange (string? protocol);
public string begin ();
[NoWrapper]
public virtual bool derive_transport_key (uint8 peer, size_t n_peer);
[NoWrapper]
public virtual bool generate_exchange_key (string scheme, uint8 public_key, size_t n_public_key);
public unowned string get_protocol ();
[CCode (array_length_pos = 0.1)]
public unowned string[] get_secret ();
public bool receive (string exchange);
public string send (string? secret, ssize_t secret_len);
public string protocol { get; construct; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_simple_certificate_get_type ()")]
public class SimpleCertificate : GLib.Object, Gcr.Certificate, Gcr.Comparable {
[CCode (has_construct_function = false, type = "GcrCertificate*")]
public SimpleCertificate ([CCode (array_length_cname = "n_data", array_length_pos = 1.1, array_length_type = "gsize")] uint8[] data);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_simple_collection_get_type ()")]
public class SimpleCollection : GLib.Object, Gcr.Collection {
[CCode (has_construct_function = false, type = "GcrCollection*")]
public SimpleCollection ();
public void add (GLib.Object object);
public void remove (GLib.Object object);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_system_prompt_get_type ()")]
public class SystemPrompt : GLib.Object, Gcr.Prompt, GLib.AsyncInitable, GLib.Initable {
[CCode (has_construct_function = false)]
protected SystemPrompt ();
public bool close (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async bool close_async (GLib.Cancellable? cancellable) throws GLib.Error;
public static GLib.Quark error_get_domain ();
public unowned Gcr.SecretExchange get_secret_exchange ();
public static Gcr.SystemPrompt open (int timeout_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static async Gcr.SystemPrompt open_async (int timeout_seconds, GLib.Cancellable? cancellable) throws GLib.Error;
public static Gcr.SystemPrompt open_for_prompter (string? prompter_name, int timeout_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error;
public static async void open_for_prompter_async (string? prompter_name, int timeout_seconds, GLib.Cancellable? cancellable);
[NoAccessorMethod]
public string bus_name { owned get; construct; }
[NoAccessorMethod]
public Gcr.SecretExchange secret_exchange { owned get; set; }
public int timeout_seconds { construct; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_system_prompter_get_type ()")]
public class SystemPrompter : GLib.Object {
[CCode (has_construct_function = false)]
public SystemPrompter (Gcr.SystemPrompterMode mode, GLib.Type prompt_type);
public Gcr.SystemPrompterMode get_mode ();
public GLib.Type get_prompt_type ();
public bool get_prompting ();
public void register (GLib.DBusConnection connection);
public void unregister (bool wait);
public GLib.Type prompt_type { get; construct; }
public bool prompting { get; }
public signal Gcr.Prompt new_prompt ();
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_union_collection_get_type ()")]
public class UnionCollection : GLib.Object, Gcr.Collection {
[CCode (has_construct_function = false, type = "GcrCollection*")]
public UnionCollection ();
public void add (Gcr.Collection collection);
public GLib.List<weak Gcr.Collection> elements ();
public bool have (Gcr.Collection collection);
public void remove (Gcr.Collection collection);
public uint size ();
public void take (Gcr.Collection collection);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_certificate_get_type ()")]
public interface Certificate : Gcr.Comparable, GLib.Object {
public static int compare (Gcr.Comparable? first, Gcr.Comparable? other);
public bool get_basic_constraints (out bool is_ca, out int path_len);
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public abstract unowned uint8[] get_der_data ();
public GLib.Date? get_expiry_date ();
[CCode (array_length_pos = 1.1, array_length_type = "gsize")]
public unowned uint8[] get_fingerprint (GLib.ChecksumType type);
public string get_fingerprint_hex (GLib.ChecksumType type);
public GLib.Date? get_issued_date ();
public string get_issuer_cn ();
public string get_issuer_dn ();
public string get_issuer_name ();
public string get_issuer_part (string part);
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public uint8[] get_issuer_raw ();
public uint get_key_size ();
public string get_markup_text ();
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public unowned uint8[] get_serial_number ();
public string get_serial_number_hex ();
public string get_subject_cn ();
public string get_subject_dn ();
public string get_subject_name ();
public string get_subject_part (string part);
[CCode (array_length_pos = 0.1, array_length_type = "gsize")]
public uint8[] get_subject_raw ();
public bool is_issuer (Gcr.Certificate issuer);
public void mixin_emit_notify ();
[NoAccessorMethod]
public abstract string description { owned get; }
[NoAccessorMethod]
public abstract GLib.Date expiry { get; }
[NoAccessorMethod]
public abstract GLib.Icon icon { owned get; }
[NoAccessorMethod]
public abstract string? issuer { owned get; }
[NoAccessorMethod]
public abstract string? label { owned get; }
[NoAccessorMethod]
public abstract string? markup { owned get; }
[NoAccessorMethod]
public abstract string? subject { owned get; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_collection_get_type ()")]
public interface Collection : GLib.Object {
public abstract bool contains (GLib.Object object);
public void emit_added (GLib.Object object);
public void emit_removed (GLib.Object object);
public abstract uint get_length ();
public abstract GLib.List<weak GLib.Object> get_objects ();
public virtual signal void added (GLib.Object object);
public virtual signal void removed (GLib.Object object);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_comparable_get_type ()")]
public interface Comparable : GLib.Object {
public abstract int compare (Gcr.Comparable? other);
public static int memcmp ([CCode (array_length_cname = "size1", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] mem1, [CCode (array_length_cname = "size2", array_length_pos = 2.1, array_length_type = "gsize")] uint8[] mem2);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_import_interaction_get_type ()")]
public interface ImportInteraction : GLib.TlsInteraction {
public abstract GLib.TlsInteractionResult supplement (Gck.Builder builder, GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async GLib.TlsInteractionResult supplement_async (Gck.Builder builder, GLib.Cancellable? cancellable) throws GLib.Error;
public abstract void supplement_prep (Gck.Builder builder);
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_importer_get_type ()")]
public interface Importer : GLib.Object {
public static GLib.List<Gcr.Importer> create_for_parsed (Gcr.Parsed parsed);
public unowned GLib.TlsInteraction get_interaction ();
public bool import (GLib.Cancellable? cancellable = null) throws GLib.Error;
public abstract async bool import_async (GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public abstract bool import_sync (GLib.Cancellable? cancellable = null) throws GLib.Error;
public static GLib.List<Gcr.Importer> queue_and_filter_for_parsed (GLib.List<Gcr.Importer> importers, Gcr.Parsed parsed);
public abstract bool queue_for_parsed (Gcr.Parsed parsed);
public static void register (GLib.Type importer_type, Gck.Attributes attrs);
public static void register_well_known ();
public void set_interaction (GLib.TlsInteraction interaction);
[NoAccessorMethod]
public abstract GLib.Icon icon { owned get; }
[ConcreteAccessor]
public abstract GLib.TlsInteraction interaction { get; set; }
[NoAccessorMethod]
public abstract string label { owned get; }
[NoAccessorMethod]
public abstract string uri { owned get; }
}
[CCode (cheader_filename = "gcr/gcr-base.h", type_id = "gcr_prompt_get_type ()")]
public interface Prompt : GLib.Object {
public void close ();
public Gcr.PromptReply confirm (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async Gcr.PromptReply confirm_async (GLib.Cancellable? cancellable) throws GLib.Error;
public Gcr.PromptReply confirm_run (GLib.Cancellable? cancellable = null) throws GLib.Error;
public string get_caller_window ();
public string get_cancel_label ();
public bool get_choice_chosen ();
public string get_choice_label ();
public string get_continue_label ();
public string get_description ();
public string get_message ();
public bool get_password_new ();
public int get_password_strength ();
public string get_title ();
public string get_warning ();
public unowned string password (GLib.Cancellable? cancellable = null) throws GLib.Error;
public async unowned string password_async (GLib.Cancellable? cancellable) throws GLib.Error;
public unowned string password_run (GLib.Cancellable? cancellable = null) throws GLib.Error;
[NoWrapper]
public abstract async Gcr.PromptReply prompt_confirm_async (GLib.Cancellable? cancellable) throws GLib.Error;
[NoWrapper]
public abstract async unowned string prompt_password_async (GLib.Cancellable? cancellable) throws GLib.Error;
public void reset ();
public void set_caller_window (string window_id);
public void set_cancel_label (string cancel_label);
public void set_choice_chosen (bool chosen);
public void set_choice_label (string? choice_label);
public void set_continue_label (string continue_label);
public void set_description (string description);
public void set_message (string message);
public void set_password_new (bool new_password);
public void set_title (string title);
public void set_warning (string? warning);
[ConcreteAccessor]
public abstract string caller_window { owned get; set construct; }
[ConcreteAccessor]
public abstract string cancel_label { owned get; set construct; }
[ConcreteAccessor]
public abstract bool choice_chosen { get; set; }
[ConcreteAccessor]
public abstract string choice_label { owned get; set construct; }
[ConcreteAccessor]
public abstract string continue_label { owned get; set construct; }
[ConcreteAccessor]
public abstract string description { owned get; set construct; }
[ConcreteAccessor]
public abstract string message { owned get; set construct; }
[ConcreteAccessor]
public abstract bool password_new { get; set; }
[ConcreteAccessor]
public abstract int password_strength { get; }
[ConcreteAccessor]
public abstract string title { owned get; set construct; }
[ConcreteAccessor]
public abstract string warning { owned get; set construct; }
public virtual signal void prompt_close ();
}
[CCode (cheader_filename = "gcr/gcr-base.h", has_type_id = false)]
public struct Column {
public weak string property_name;
public GLib.Type property_type;
public GLib.Type column_type;
public weak string label;
public Gcr.ColumnFlags flags;
public weak GLib.ValueTransform transformer;
public void* user_data;
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_CERTIFICATE_CHAIN_", has_type_id = false)]
[Flags]
public enum CertificateChainFlags {
NONE,
NO_LOOKUPS
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_CERTIFICATE_CHAIN_", has_type_id = false)]
public enum CertificateChainStatus {
UNKNOWN,
INCOMPLETE,
DISTRUSTED,
SELFSIGNED,
PINNED,
ANCHORED
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_CERTIFICATE_REQUEST_", has_type_id = false)]
public enum CertificateRequestFormat {
[CCode (cname = "GCR_CERTIFICATE_REQUEST_PKCS10")]
CERTIFICATE_REQUEST_PKCS10
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_COLUMN_", has_type_id = false)]
[Flags]
public enum ColumnFlags {
NONE,
HIDDEN,
SORTABLE
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_ERROR_", has_type_id = false)]
public enum DataError {
FAILURE,
UNRECOGNIZED,
CANCELLED,
LOCKED
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_FORMAT_", has_type_id = false)]
public enum DataFormat {
ALL,
INVALID,
DER_PRIVATE_KEY,
DER_PRIVATE_KEY_RSA,
DER_PRIVATE_KEY_DSA,
DER_PRIVATE_KEY_EC,
DER_SUBJECT_PUBLIC_KEY,
DER_CERTIFICATE_X509,
DER_PKCS7,
DER_PKCS8,
DER_PKCS8_PLAIN,
DER_PKCS8_ENCRYPTED,
DER_PKCS10,
DER_SPKAC,
BASE64_SPKAC,
DER_PKCS12,
OPENSSH_PUBLIC,
OPENPGP_PACKET,
OPENPGP_ARMOR,
PEM,
PEM_PRIVATE_KEY_RSA,
PEM_PRIVATE_KEY_DSA,
PEM_CERTIFICATE_X509,
PEM_PKCS7,
PEM_PKCS8_PLAIN,
PEM_PKCS8_ENCRYPTED,
PEM_PKCS12,
PEM_PRIVATE_KEY,
PEM_PKCS10,
PEM_PRIVATE_KEY_EC,
PEM_PUBLIC_KEY
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_PROMPT_REPLY_", has_type_id = false)]
public enum PromptReply {
CANCEL,
CONTINUE
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_SYSTEM_PROMPT_IN_", has_type_id = false)]
public enum SystemPromptError {
[CCode (cname = "GCR_SYSTEM_PROMPT_IN_PROGRESS")]
SYSTEM_PROMPT_IN_PROGRESS
}
[CCode (cheader_filename = "gcr/gcr-base.h", cprefix = "GCR_SYSTEM_PROMPTER_", has_type_id = false)]
public enum SystemPrompterMode {
SINGLE,
MULTIPLE
}
[CCode (cheader_filename = "gcr/gcr-base.h", instance_pos = 1.9)]
public delegate bool FilterCollectionFunc (GLib.Object object);
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_CERTIFICATE")]
public const string ICON_CERTIFICATE;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_GNUPG")]
public const string ICON_GNUPG;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_HOME_DIRECTORY")]
public const string ICON_HOME_DIRECTORY;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_KEY")]
public const string ICON_KEY;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_KEY_PAIR")]
public const string ICON_KEY_PAIR;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_PASSWORD")]
public const string ICON_PASSWORD;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_ICON_SMART_CARD")]
public const string ICON_SMART_CARD;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_MAJOR_VERSION")]
public const int MAJOR_VERSION;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_MICRO_VERSION")]
public const int MICRO_VERSION;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_MINOR_VERSION")]
public const int MINOR_VERSION;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_SECRET_EXCHANGE_PROTOCOL_1")]
public const string SECRET_EXCHANGE_PROTOCOL_1;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_UNLOCK_OPTION_ALWAYS")]
public const string UNLOCK_OPTION_ALWAYS;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_UNLOCK_OPTION_IDLE")]
public const string UNLOCK_OPTION_IDLE;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_UNLOCK_OPTION_SESSION")]
public const string UNLOCK_OPTION_SESSION;
[CCode (cheader_filename = "gcr/gcr-base.h", cname = "GCR_UNLOCK_OPTION_TIMEOUT")]
public const string UNLOCK_OPTION_TIMEOUT;
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static int certificate_compare (Gcr.Comparable? first, Gcr.Comparable? other);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.Quark data_error_get_domain ();
[CCode (array_length_pos = 2.1, array_length_type = "gsize", cheader_filename = "gcr/gcr-base.h")]
public static uint8[] fingerprint_from_attributes (Gck.Attributes attrs, GLib.ChecksumType checksum_type);
[CCode (array_length_pos = 2.1, array_length_type = "gsize", cheader_filename = "gcr/gcr-base.h")]
public static uint8[] fingerprint_from_subject_public_key_info ([CCode (array_length_cname = "n_key_info", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] key_info, GLib.ChecksumType checksum_type);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.Icon icon_for_token (Gck.TokenInfo token_info);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.List<Gcr.Importer> importer_create_for_parsed (Gcr.Parsed parsed);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.List<Gcr.Importer> importer_queue_and_filter_for_parsed (GLib.List<Gcr.Importer> importers, Gcr.Parsed parsed);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void importer_register (GLib.Type importer_type, Gck.Attributes attrs);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void importer_register_well_known ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_disconnect ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_expect_close ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_expect_confirm_cancel ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_expect_password_cancel ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static uint mock_prompter_get_delay_msec ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static bool mock_prompter_is_expecting ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static bool mock_prompter_is_prompting ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_set_delay_msec (uint delay_msec);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static unowned string mock_prompter_start ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void mock_prompter_stop ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void parsed_unref (void* parsed);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void pkcs11_add_module (Gck.Module module);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static bool pkcs11_add_module_from_file (string module_path, void* unused) throws GLib.Error;
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.List<Gck.Module> pkcs11_get_modules ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static GLib.List<Gck.Slot> pkcs11_get_trust_lookup_slots ();
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gcr/gcr-base.h")]
public static unowned string[] pkcs11_get_trust_lookup_uris ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static Gck.Slot pkcs11_get_trust_store_slot ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static unowned string pkcs11_get_trust_store_uri ();
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static bool pkcs11_initialize (GLib.Cancellable? cancellable = null) throws GLib.Error;
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static async bool pkcs11_initialize_async (GLib.Cancellable? cancellable) throws GLib.Error;
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void pkcs11_set_modules (GLib.List<Gck.Module> modules);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void pkcs11_set_trust_lookup_uris (string? pkcs11_uris);
[CCode (cheader_filename = "gcr/gcr-base.h")]
public static void pkcs11_set_trust_store_uri (string? pkcs11_uri);
}
|