![]() |
![]() |
![]() |
Listaller Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define LISTALLER_IPK_TYPE_SECURITY_INFO ListallerSecurityLevel listaller_ipk_security_info_get_level (ListallerIPKSecurityInfo *self
); gchar * listaller_ipk_security_info_get_level_as_sentence (ListallerIPKSecurityInfo *self
); gchar * listaller_ipk_security_info_get_level_as_string (ListallerIPKSecurityInfo *self
); ListallerSignStatus listaller_ipk_security_info_get_signature_status (ListallerIPKSecurityInfo *self
); ListallerSignTrust listaller_ipk_security_info_get_signature_trustlevel (ListallerIPKSecurityInfo *self
); const gchar * listaller_ipk_security_info_get_user_names (ListallerIPKSecurityInfo *self
); const gchar * listaller_ipk_security_info_get_key_fpr (ListallerIPKSecurityInfo *self
); const gchar * listaller_ipk_security_info_get_trust_reason (ListallerIPKSecurityInfo *self
); struct ListallerIPKSecurityInfo; struct ListallerIPKSecurityInfoClass; gchar * listaller_security_level_to_string (ListallerSecurityLevel self
); ListallerSecurityLevel listaller_security_level_from_string (const gchar *str
); enum ListallerSecurityLevel; gchar * listaller_sign_status_to_string (ListallerSignStatus self
); enum ListallerSignStatus; gchar * listaller_sign_trust_to_string (ListallerSignTrust self
); enum ListallerSignTrust;
GObject +----ListallerIPKSecurityInfo
GEnum +----ListallerSecurityLevel
GEnum +----ListallerSignStatus
GEnum +----ListallerSignTrust
"key-fpr" gchar* : Read / Write "signature-status" ListallerSignStatus : Read / Write "signature-trustlevel" ListallerSignTrust : Read / Write "trust-reason" gchar* : Read / Write "user-names" gchar* : Read / Write
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
);
|
the ListallerIPKSecurityInfo instance |
Returns : |
a human-readable general security level, which was determined for the associated package. |
gchar * listaller_ipk_security_info_get_level_as_sentence
(ListallerIPKSecurityInfo *self
);
Get a sentence describing the security status of a package.
|
the ListallerIPKSecurityInfo instance |
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.
|
the ListallerIPKSecurityInfo instance |
ListallerSignStatus listaller_ipk_security_info_get_signature_status
(ListallerIPKSecurityInfo *self
);
Get and return the current value of the "signature-status" property.
|
the ListallerIPKSecurityInfo instance to query |
Returns : |
the 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.
|
the ListallerIPKSecurityInfo instance to query |
Returns : |
the 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.
|
the ListallerIPKSecurityInfo instance to query |
Returns : |
the 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.
|
the ListallerIPKSecurityInfo instance to query |
Returns : |
the 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.
|
the ListallerIPKSecurityInfo instance to query |
Returns : |
the value of the "trust-reason" property |
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.
GObjectClass |
the parent class structure |
gchar * listaller_security_level_to_string (ListallerSecurityLevel self
);
|
the ListallerSecurityLevel instance |
ListallerSecurityLevel listaller_security_level_from_string
(const gchar *str
);
|
typedef enum { LISTALLER_SECURITY_LEVEL_DANGEROUS, LISTALLER_SECURITY_LEVEL_LOW, LISTALLER_SECURITY_LEVEL_MEDIUM, LISTALLER_SECURITY_LEVEL_HIGH } ListallerSecurityLevel;
Simple indicator of package security
gchar * listaller_sign_status_to_string (ListallerSignStatus self
);
|
the ListallerSignStatus instance |
typedef enum { LISTALLER_SIGN_STATUS_UNKNOWN, LISTALLER_SIGN_STATUS_VALID, LISTALLER_SIGN_STATUS_KEY_EXPIRED, LISTALLER_SIGN_STATUS_KEY_MISSING, LISTALLER_SIGN_STATUS_CERT_REVOKED, LISTALLER_SIGN_STATUS_SIG_EXPIRED, LISTALLER_SIGN_STATUS_BAD, LISTALLER_SIGN_STATUS_NO_PUBKEY } ListallerSignStatus;
Status of a package signature
gchar * listaller_sign_trust_to_string (ListallerSignTrust self
);
|
the ListallerSignTrust instance |
"signature-status"
property"signature-status" ListallerSignStatus : Read / Write
signature-status.
Default value: LISTALLER_SIGN_STATUS_UNKNOWN
"signature-trustlevel"
property"signature-trustlevel" ListallerSignTrust : Read / Write
signature-trustlevel.
Default value: LISTALLER_SIGN_TRUST_UNKNOWN