X-Git-Url: http://git.silcnet.org/gitweb/?p=website.git;a=blobdiff_plain;f=docs%2Ftoolkit%2Fmanual%2Fsilcske-SilcSKEStatus.html;fp=docs%2Ftoolkit%2Fmanual%2Fsilcske-SilcSKEStatus.html;h=69a80b1ff215ae2bb3c7039915cfa41eb9922b01;hp=0000000000000000000000000000000000000000;hb=80b80cef93d9dff6acc4bc8e3a522c55fcdc3fca;hpb=43e53f529ca5c7d2ddb7cee8e76e273631e6f1e2 diff --git a/docs/toolkit/manual/silcske-SilcSKEStatus.html b/docs/toolkit/manual/silcske-SilcSKEStatus.html new file mode 100644 index 0000000..69a80b1 --- /dev/null +++ b/docs/toolkit/manual/silcske-SilcSKEStatus.html @@ -0,0 +1,265 @@ + + + + + + + + + + + + + + + + + + + +
Copyright © 2001 - 2007 SILC Project
+ SILC Project Website
+ SILC Toolkit Reference Manual
+ Index
+ + +
+ + + + + + + + + + + + + + +
+ + + +
+
+ + + +SILC Toolkit Reference Manual
+ + +SILC Crypto Library
+    Introduction to SILC RNG
+    SILC RNG Interface
+    SILC Cipher API
+    SILC PKCS API
+    SILC Public Key API
+    SILC PKCS #1 API
+    SILC Hash Interface
+    SILC HMAC Interface
+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 Argument Interface
+    SILC Attributes Interface
+    Packet Engine Interface
+    SILC Public Key Payload Interface
+SILC Key Exchange Library
+    SILC SKE Interface
+    SILC Connection Authentication Interface
+SILC VCard Library
+    SILC VCard Interface
+SILC Math Library
+    SILC MP Interface
+    SILC Math Interface
+SILC Client Library
+    Using SILC Client Library Tutorial
+    Arguments for command_reply Client Operation
+    SilcStatus Error Arguments in command_reply Client Operation
+    Arguments for notify Client Operation
+    Unicode and UTF-8 Strings in Client Library
+    Client Library Interface Reference
+    Client Entry Interface Reference
+SILC ASN.1 Library
+    SILC ASN.1 Interface
+    SILC BER interface
+SILC HTTP Library
+    SILC HTTP Server Interface
+    SILC HTTP PHP Translator
+SILC Utility Library
+    Basic Types and Definitions
+    Data Buffer Interface
+    Data Buffer Format Interface
+    Hash Table Interface
+    Memory Allocation Interface
+    Data Stack (memory pool) Interface
+    Finite State Machine Interface
+    Thread Interface
+    Mutual Exclusion Lock Interface
+    Condition Variable Interface
+    Atomic Operations Interface
+    Network (TCP and UDP) Interface
+    Scheduler Interface
+    Asynchronous Operation Interface
+    Abstract Stream Interface
+    Socket Stream Interface
+    File Descriptor Stream Interface
+    File Utility Functions
+    String Utility Interface
+    Snprintf Interface
+    UTF-8 String Interface
+    Stringprep Interface
+    Utility Functions
+    List Interface
+    Dynamic List Interface
+    MIME Interface
+    Time Utility Functions
+    Logging Interface
+    Config File Interface
+SILC Key Repository Library
+    SILC SKR Interface
+SILC Application Utility Library
+    SILC Application Utilities
+    SILC ID Cache Interface
+SILC SFTP Library
+    SILC SFTP Interface
+    SFTP Filesystems Interface
+ +
+Resource Links +
+SILC Project Website
+SILC Protocol Documentation
+SILC White Paper
+SILC FAQs
+ +
+



+
+
+ + + + +
+
+ +SilcSKEStatus

+ + +NAME + +

+    typedef enum { ... } SilcSKEStatus;
+
+
+DESCRIPTION + +

+    Status types returned in SKE callbacks. This tell the status of
+    the SKE session, and if an error occurred. Application can map the
+    status to human readable string with silc_ske_map_status function.
+
+
+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_PUBLIC_KEY_NOT_PROVIDED,     /* Remote did not send PK */
+      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 */
+      SILC_SKE_STATUS_TIMEOUT,                     /* Timeout */
+      SILC_SKE_STATUS_PROBE_TIMEOUT,               /* Probe timeout */
+    } SilcSKEStatus;
+



+
+
+ + + + +
+
+ +SILC SKE Interface
+SilcSKEStatus
+SilcSKESecurityPropertyFlag
+SilcSKESecurityProperties
+SilcSKEKeyMaterial
+SilcSKERekeyMaterial
+SilcSKEParams
+SilcSKEPKType
+SilcSKEVerifyCbCompletion
+SilcSKEVerifyCb
+SilcSKECompletionCb
+silc_ske_alloc
+silc_ske_free
+silc_ske_get_context
+silc_ske_set_callbacks
+silc_ske_initiator
+silc_ske_responder
+silc_ske_rekey_initiator
+silc_ske_rekey_responder
+silc_ske_set_keys
+silc_ske_parse_version
+silc_ske_get_security_properties
+silc_ske_get_key_material
+silc_ske_process_key_material_data
+silc_ske_free_key_material
+silc_ske_free_rekey_material
+silc_ske_map_status
+
+ +



+
+
+ + + +
+ + + + + + +
Copyright © 2001 - 2007 SILC Project
+ SILC Project Website
+ SILC Toolkit Reference Manual
+ Index
+ + +