AgsCertificate

AgsCertificate — base password certificate

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsCertificate

Known Implementations

AgsCertificate is implemented by AgsXmlCertificate.

Includes

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

Description

The AgsCertificate interface gives you a unique access to all objects and is responsible to set up signal handlers.

Functions

ags_certificate_verify ()

gboolean
ags_certificate_verify (AgsCertificate *certificate,
                        gchar *certs,
                        GError **error);

Verify certs .

Parameters

certificate

the AgsCertificate

 

certs

the certificate data

 

error

the GError

 

Returns

TRUE on success, otherwise FALSE

Since: 1.0.0


AGS_CERTIFICATE()

#define AGS_CERTIFICATE(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CERTIFICATE, AgsCertificate))

AGS_CERTIFICATE_GET_INTERFACE()

#define AGS_CERTIFICATE_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_CERTIFICATE, AgsCertificateInterface))

AGS_CERTIFICATE_INTERFACE()

#define AGS_CERTIFICATE_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_CERTIFICATE, AgsCertificateInterface))

AGS_IS_CERTIFICATE()

#define AGS_IS_CERTIFICATE(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CERTIFICATE))

AGS_IS_CERTIFICATE_INTERFACE()

#define AGS_IS_CERTIFICATE_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_CERTIFICATE))

ags_certificate_get_type ()

GType
ags_certificate_get_type ();

Types and Values

AGS_TYPE_CERTIFICATE

#define AGS_TYPE_CERTIFICATE                    (ags_certificate_get_type())

AgsCertificate

typedef struct _AgsCertificate AgsCertificate;

struct AgsCertificateInterface

struct AgsCertificateInterface {
  GTypeInterface interface;

  gboolean (*verify)(AgsCertificate *certificate,
		     gchar *certs,
		     GError **error);
};