Copyright © 2001 - 2005 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 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 UTF-8 Interface
SILC Stringprep Interface
SILC Util Interface
SILC List Interface
SILC Dynamic List Interface
SILC VCard Interface
SILC Application Utilities
SILC MIME Interface
SILC Crypto Library
Introduction to SILC RNG
SILC RNG Interface
SILC Cipher API
SILC PKCS API
SILC PKCS#1 API
SILC Hash Interface
SILC HMAC Interface
SILC SFTP Library
SILC SFTP Interface
SFTP Filesystems 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
SILC Key Exchange Library
SILC SKE Interface
SKE Status Types
SKE Diffie Hellman Groups
SKE Payloads
SILC Math Library
SILC MP Interface
SILC Math Interface
Resource Links
SILC Project Website
SILC Protocol Documentation
SILC White Paper
SILC FAQs

Structure SilcPublicKey
NAME

        typedef struct { ... } *SilcPublicKey, SilcPublicKeyStruct;

DESCRIPTION

        SILC style public key object.  Public key is read from file to this
        object.  Public keys received from network must be in this format as
        well.  The format is defined by the SILC protocol specification.
        This object is allocated by silc_pkcs_public_key_alloc and freed
        by silc_pkcs_public_key_free.  The object is given as argument to
        all silc_pkcs_public_key_* functions.

SOURCE

        typedef struct {
          SilcUInt16 pk_type;           /* Public key type (SilcSKEPKType) */
          SilcUInt32 len;
          char *name;
          char *identifier;
          unsigned char *pk;
          SilcUInt32 pk_len;
        } *SilcPublicKey, SilcPublicKeyStruct;

SILC PKCS Interface
SilcPKCS
SilcPublicKey
SilcPublicKeyIdentifier
SilcPrivateKey
silc_pkcs_register
silc_pkcs_unregister
silc_pkcs_register_default
silc_pkcs_unregister_all
silc_pkcs_alloc
silc_pkcs_free
silc_pkcs_is_supported
silc_pkcs_get_supported
silc_pkcs_generate_key
silc_pkcs_get_key_len
silc_pkcs_get_name
silc_pkcs_get_public_key
silc_pkcs_get_private_key
silc_pkcs_public_key_set
silc_pkcs_public_key_data_set
silc_pkcs_private_key_set
silc_pkcs_private_key_data_set
silc_pkcs_encrypt
silc_pkcs_decrypt
silc_pkcs_sign
silc_pkcs_verify
silc_pkcs_sign_with_hash
silc_pkcs_verify_with_hash
silc_pkcs_encode_identifier
silc_pkcs_decode_identifier
silc_pkcs_free_identifier
silc_pkcs_public_key_alloc
silc_pkcs_public_key_free
silc_pkcs_private_key_alloc
silc_pkcs_private_key_free
silc_pkcs_public_key_encode
silc_pkcs_public_key_data_encode
silc_pkcs_public_key_decode
silc_pkcs_public_key_payload_encode
silc_pkcs_public_key_payload_decode
silc_pkcs_public_key_compare
silc_pkcs_public_key_copy
silc_pkcs_private_key_encode
silc_pkcs_private_key_data_encode
silc_pkcs_private_key_decode
silc_pkcs_save_public_key
silc_pkcs_save_public_key_data
silc_pkcs_save_private_key
silc_pkcs_load_public_key
silc_pkcs_load_private_key

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