Ags.CertificateManager¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
certificate  | 
[  | 
r  | 
|
gobject  | 
r  | 
||
obj_mutex  | 
r  | 
Class Details¶
- class Ags.CertificateManager(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod get_instance()¶
 - Returns:
 - Return type:
 
Get instance.
New in version 3.0.0.
- classmethod new()¶
 - Returns:
 a new
Ags.CertificateManager- Return type:
 
Creates an
Ags.CertificateManagerNew in version 3.0.0.
- add_certificate(certificate)¶
 - Parameters:
 certificate (
GObject.Object) – theGObject.ObjectimplementingAgs.Certificate
Add certificate to self.
New in version 3.0.0.
- get_certificate()¶
 - Returns:
 the
GLib.List-struct containingGObject.ObjectimplementingAgs.Certificate- Return type:
 
Get certificate.
New in version 3.0.0.
- get_key_file(security_context, user_uuid, security_token, domain, key_type)¶
 - Parameters:
 security_context (
GObject.Object) – theAgs.SecurityContextuser_uuid (
str) – the user’s UUIDsecurity_token (
str) – the security tokendomain (
str) – the domain to findkey_type (
str) – the key type to find
- Returns:
 - public_key_file:
 return location of public key filename
- private_key_file:
 return location of private key filename
- Return type:
 
Get public and private key file.
New in version 3.0.0.
- remove_certificate(certificate)¶
 - Parameters:
 certificate (
GObject.Object) – theGObject.ObjectimplementingAgs.Certificate
Remove certificate from self.
New in version 3.0.0.