Top | ![]() |
![]() |
![]() |
![]() |
gchar * | key-fpr | Read / Write |
ListallerSignStatus | signature-status | Read / Write |
ListallerSignTrust | signature-trustlevel | Read / Write |
gchar * | trust-reason | Read / Write |
gchar * | user-names | Read / Write |
struct | ListallerIPKSecurityInfo |
struct | ListallerIPKSecurityInfoClass |
enum | ListallerSecurityLevel |
enum | ListallerSignStatus |
enum | ListallerSignTrust |
GEnum ├── ListallerSecurityLevel ├── ListallerSignStatus ╰── ListallerSignTrust GObject ╰── ListallerIPKSecurityInfo
This class stores data which can be used to display meaningful information about the security level of a 3rd-party software package. It provides information about the state of the package signature.
#define LISTALLER_IPK_TYPE_SECURITY_INFO (listaller_ipk_security_info_get_type ())
The type for ListallerIPKSecurityInfo.
ListallerSecurityLevel
listaller_ipk_security_info_get_level (ListallerIPKSecurityInfo *self
);
gchar *
listaller_ipk_security_info_get_level_as_sentence
(ListallerIPKSecurityInfo *self
);
Get a sentence describing the security status of a package.
gchar *
listaller_ipk_security_info_get_level_as_string
(ListallerIPKSecurityInfo *self
);
Get a simple workd (such as "high" or "low") which describes the security status of a package.
ListallerSignStatus
listaller_ipk_security_info_get_signature_status
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "signature-status" property.
ListallerSignTrust
listaller_ipk_security_info_get_signature_trustlevel
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "signature-trustlevel" property.
const gchar *
listaller_ipk_security_info_get_user_names
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "user-names" property.
const gchar *
listaller_ipk_security_info_get_key_fpr
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "key-fpr" property.
const gchar *
listaller_ipk_security_info_get_trust_reason
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "trust-reason" property.
gchar *
listaller_security_level_to_string (ListallerSecurityLevel self
);
ListallerSecurityLevel
listaller_security_level_from_string (const gchar *str
);
gchar *
listaller_sign_status_to_string (ListallerSignStatus self
);
struct ListallerIPKSecurityInfo;
Package security information
This class stores data which can be used to display meaningful information about the security level of a 3rd-party software package. It provides information about the state of the package signature.
struct ListallerIPKSecurityInfoClass { GObjectClass parent_class; };
The class structure for LISTALLER_IPK_TYPE_SECURITY_INFO
. All the fields in this structure are private and should never be accessed directly.
“signature-status”
property“signature-status” ListallerSignStatus
signature-status.
Flags: Read / Write
Default value: LISTALLER_SIGN_STATUS_UNKNOWN
“signature-trustlevel”
property“signature-trustlevel” ListallerSignTrust
signature-trustlevel.
Flags: Read / Write
Default value: LISTALLER_SIGN_TRUST_UNKNOWN
“trust-reason”
property“trust-reason” gchar *
trust-reason.
Flags: Read / Write
Default value: NULL