Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Message Interface SILC Channel Interface SILC Command Interface SILC Notify Interface SILC Status Types SILC Modes SILC ID Interface SILC ID Cache Interface SILC Argument Interface SILC Attributes Interface Packet Protocol Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Utility Library Basic SILC Types SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC String Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC VCard Interface SILC Application Utilities SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Client Library Using SILC Client Library Tutorial Arguments for command_reply Client Operation Arguments for notify Client Operation Client Library Interface Reference SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC PKCS API SILC Hash Interface SILC HMAC Interface Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
SilcSKEStatus NAME
        typedef enum { ... } SilcSKEStatus;
DESCRIPTION
        Status types returned by all SKE routines. This tell the status of
        the SKE session, and if an error occurred.
SOURCE
        typedef enum {
          /* These are defined by the protocol */
          SILC_SKE_STATUS_OK                     = 0,  /* No error */
          SILC_SKE_STATUS_ERROR                  = 1,  /* Unknown error */
          SILC_SKE_STATUS_BAD_PAYLOAD            = 2,  /* Malformed payload */
          SILC_SKE_STATUS_UNKNOWN_GROUP          = 3,  /* Unsupported DH group */
          SILC_SKE_STATUS_UNKNOWN_CIPHER         = 4,  /* Unsupported cipher */
          SILC_SKE_STATUS_UNKNOWN_PKCS           = 5,  /* Unsupported PKCS algorithm */
          SILC_SKE_STATUS_UNKNOWN_HASH_FUNCTION  = 6,  /* Unsupported hash function */
          SILC_SKE_STATUS_UNKNOWN_HMAC           = 7,  /* Unsupported HMAC */
          SILC_SKE_STATUS_UNSUPPORTED_PUBLIC_KEY = 8,  /* Unsupported/not trusted PK */
          SILC_SKE_STATUS_INCORRECT_SIGNATURE    = 9,  /* Incorrect signature */
          SILC_SKE_STATUS_BAD_VERSION            = 10, /* Unsupported version */
          SILC_SKE_STATUS_INVALID_COOKIE         = 11, /* Cookie was modified */

          /* Implementation specific status types */
          SILC_SKE_STATUS_PENDING,                     /* SKE library is pending */
          SILC_SKE_STATUS_PUBLIC_KEY_NOT_PROVIDED,     /* Remote did not send PK */
          SILC_SKE_STATUS_KEY_EXCHANGE_NOT_ACTIVE,     /* SKE is not started */
          SILC_SKE_STATUS_BAD_RESERVED_FIELD,          /* Reserved field was not 0 */
          SILC_SKE_STATUS_BAD_PAYLOAD_LENGTH,          /* Payload includes garbage */
          SILC_SKE_STATUS_SIGNATURE_ERROR,             /* Error computing signature */
          SILC_SKE_STATUS_OUT_OF_MEMORY,               /* System out of memory */

          /* Other internal status types */
          SILC_SKE_STATUS_FREED,                       /* Internal library status */
        } SilcSKEStatus;
SKE Status Types SilcSKEStatus silc_ske_map_status

Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual Index