Blame docs/reference/gio/html/GTlsFileDatabase.html

Packit ae235b
Packit ae235b
<html>
Packit ae235b
<head>
Packit ae235b
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit ae235b
<title>GTlsFileDatabase: GIO Reference Manual</title>
Packit ae235b
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit ae235b
<link rel="home" href="index.html" title="GIO Reference Manual">
Packit ae235b
<link rel="up" href="tls.html" title="TLS (SSL) support">
Packit ae235b
<link rel="prev" href="GTlsDatabase.html" title="GTlsDatabase">
Packit ae235b
<link rel="next" href="GTlsInteraction.html" title="GTlsInteraction">
Packit ae235b
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit ae235b
<link rel="stylesheet" href="style.css" type="text/css">
Packit ae235b
</head>
Packit ae235b
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit ae235b
Packit ae235b
Packit ae235b
Top  | 
Packit ae235b
                  Description  | 
Packit ae235b
                  Object Hierarchy  | 
Packit ae235b
                  Prerequisites  | 
Packit ae235b
                  Properties
Packit ae235b
Packit ae235b
Home
Packit ae235b
Up
Packit ae235b
Prev
Packit ae235b
Next
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

GTlsFileDatabase

Packit ae235b

GTlsFileDatabase — TLS file based database type

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
GTlsDatabase *
Packit ae235b
Packit ae235b
Packit ae235b
g_tls_file_database_new ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Properties

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
gchar *
Packit ae235b
anchors
Packit ae235b
Read / Write / Construct
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
 
Packit ae235b
GTlsFileDatabase
Packit ae235b
Packit ae235b
Packit ae235b
struct
Packit ae235b
GTlsFileDatabaseInterface
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Object Hierarchy

Packit ae235b
    GInterface
Packit ae235b
    ╰── GTlsFileDatabase
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Prerequisites

Packit ae235b

Packit ae235b
GTlsFileDatabase requires
Packit ae235b
 GTlsDatabase.

Packit ae235b
Packit ae235b
Packit ae235b

Includes

Packit ae235b
#include <gio/gio.h>
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Description

Packit ae235b

GTlsFileDatabase is implemented by GTlsDatabase objects which load

Packit ae235b
their certificate information from a file. It is an interface which
Packit ae235b
TLS library specific subtypes implement.

Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b

g_tls_file_database_new ()

Packit ae235b
GTlsDatabase *
Packit ae235b
g_tls_file_database_new (const gchar *anchors,
Packit ae235b
                         GError **error);
Packit ae235b

Creates a new GTlsFileDatabase which uses anchor certificate authorities

Packit ae235b
in anchors
Packit ae235b
 to verify certificate chains.

Packit ae235b

The certificates in anchors

Packit ae235b
 must be PEM encoded.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

anchors

Packit ae235b

filename of anchor certificate authorities.

Packit ae235b
[type filename]
Packit ae235b
Packit ae235b
Packit ae235b

error

Packit ae235b

GError for error reporting, or NULL to ignore.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

the new

Packit ae235b
GTlsFileDatabase, or NULL on error. 

Packit ae235b

[transfer full][type GTlsFileDatabase]

Packit ae235b
Packit ae235b

Since: 2.30

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b

GTlsFileDatabase

Packit ae235b
typedef struct _GTlsFileDatabase GTlsFileDatabase;
Packit ae235b

Implemented by a GTlsDatabase which allows you to load certificates

Packit ae235b
from a file.

Packit ae235b

Since: 2.30

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

struct GTlsFileDatabaseInterface

Packit ae235b
struct GTlsFileDatabaseInterface {
Packit ae235b
  GTypeInterface g_iface;
Packit ae235b
};
Packit ae235b
Packit ae235b

Provides an interface for GTlsFileDatabase implementations.

Packit ae235b
Packit ae235b

Members

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Property Details

Packit ae235b
Packit ae235b

The “anchors” property

Packit ae235b
  “anchors”                  gchar *
Packit ae235b

The path to a file containing PEM encoded certificate authority

Packit ae235b
root anchors. The certificates in this file will be treated as
Packit ae235b
root authorities for the purpose of verifying other certificates
Packit ae235b
via the g_tls_database_verify_chain() operation.

Packit ae235b

Flags: Read / Write / Construct

Packit ae235b

Default value: NULL

Packit ae235b

Since: 2.30

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Generated by GTK-Doc V1.27
Packit ae235b
</body>
Packit ae235b
</html>