SilcSKRStatus
NAME
typedef enum { ... } SilcSKRStatus;
DESCRIPTION
Indicates the status of the key repository procedures. This is
returned to SilcSKRFindCallback function to indicate the status
of the finding. This is a bitmask, and more than one status may
be set at one time.
If there are no errors only SILC_SKR_OK is set. If error occurred
then at least SILC_SKR_ERROR is set, and possibly other error
status also.
If the SILC_SKR_UNSUPPORTED_TYPE is returned the repository does not
support the public key type and it cannot be added to the repository.
SOURCE
typedef enum {
SILC_SKR_OK = 0x00000001, /* All is Ok */
SILC_SKR_ERROR = 0x00000002, /* Generic error status */
SILC_SKR_ALREADY_EXIST = 0x00000004, /* Key already exist */
SILC_SKR_NOT_FOUND = 0x00000008, /* No keys were found */
SILC_SKR_NO_MEMORY = 0x00000010, /* System out of memory */
SILC_SKR_UNSUPPORTED_TYPE = 0x00000020, /* Unsupported PKCS type */
} SilcSKRStatus;
|