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;
|