AgsCertificateManager

AgsCertificateManager — Singleton pattern to organize certificate

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsCertificateManager

Includes

#include <ags/server/security/ags_certificate_manager.h>

Description

The AgsCertificateManager manages your certificate.

Functions

ags_certificate_manager_get_certificate ()

GList *
ags_certificate_manager_get_certificate
                               (AgsCertificateManager *certificate_manager);

ags_certificate_manager_add_certificate ()

void
ags_certificate_manager_add_certificate
                               (AgsCertificateManager *certificate_manager,
                                GObject *certificate);

ags_certificate_manager_remove_certificate ()

void
ags_certificate_manager_remove_certificate
                               (AgsCertificateManager *certificate_manager,
                                GObject *certificate);

ags_certificate_manager_verify_certificate ()

gboolean
ags_certificate_manager_verify_certificate
                               (AgsCertificateManager *certificate_manager,
                                gchar *certs);

ags_certificate_manager_get_instance ()

AgsCertificateManager *
ags_certificate_manager_get_instance ();

Get instance.

Returns

the AgsCertificateManager

Since: 1.0.0


ags_certificate_manager_new ()

AgsCertificateManager *
ags_certificate_manager_new ();

Creates an AgsCertificateManager

Returns

a new AgsCertificateManager

Since: 1.0.0


AGS_CERTIFICATE_MANAGER()

#define AGS_CERTIFICATE_MANAGER(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CERTIFICATE_MANAGER, AgsCertificateManager))

AGS_CERTIFICATE_MANAGER_CLASS()

#define AGS_CERTIFICATE_MANAGER_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CERTIFICATE_MANAGER, AgsCertificateManagerClass))

AGS_CERTIFICATE_MANAGER_GET_CLASS()

#define AGS_CERTIFICATE_MANAGER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_CERTIFICATE_MANAGER, AgsCertificateManagerClass))

AGS_IS_CERTIFICATE_MANAGER()

#define AGS_IS_CERTIFICATE_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_CERTIFICATE_MANAGER))

ags_certificate_manager_get_type ()

GType
ags_certificate_manager_get_type (void);

Types and Values

AGS_TYPE_CERTIFICATE_MANAGER

#define AGS_TYPE_CERTIFICATE_MANAGER                (ags_certificate_manager_get_type())

struct AgsCertificateManager

struct AgsCertificateManager;

struct AgsCertificateManagerClass

struct AgsCertificateManagerClass {
  GObjectClass object;
};