|
VLC
2.1.0-git
|

Go to the source code of this file.
Data Structures | |
| struct | public_key_packet_t |
| struct | signature_packet_t |
| struct | public_key_t |
| struct | update_download_thread_t |
| Non blocking binary download. More... | |
| struct | update_check_thread_t |
| Non blocking update availability verification. More... | |
| struct | update_t |
| The update object. More... | |
Typedefs | |
| typedef struct public_key_packet_t | public_key_packet_t |
| typedef struct signature_packet_t | signature_packet_t |
| typedef struct public_key_t | public_key_t |
Enumerations | |
| enum | { PUBLIC_KEY_ALGO_DSA = 0x11 } |
| enum | { DIGEST_ALGO_SHA1 = 0x02 } |
| enum | { SIGNATURE_PACKET = 0x02, PUBLIC_KEY_PACKET = 0x06, USER_ID_PACKET = 0x0d } |
| enum | { BINARY_SIGNATURE = 0x00, TEXT_SIGNATURE = 0x01, GENERIC_KEY_SIGNATURE = 0x10, PERSONA_KEY_SIGNATURE = 0x11, CASUAL_KEY_SIGNATURE = 0x12, POSITIVE_KEY_SIGNATURE = 0x13 } |
| enum | { ISSUER_SUBPACKET = 0x10 } |
Functions | |
| public_key_t * | download_key (vlc_object_t *p_this, const uint8_t *p_longid, const uint8_t *p_signature_issuer) |
| int | parse_public_key (const uint8_t *p_key_data, size_t i_key_len, public_key_t *p_key, const uint8_t *p_sig_issuer) |
| int | verify_signature (uint8_t *p_r, uint8_t *p_s, public_key_packet_t *p_key, uint8_t *p_hash) |
| int | download_signature (vlc_object_t *p_this, signature_packet_t *p_sig, const char *psz_url) |
| uint8_t * | hash_sha1_from_text (const char *psz_text, signature_packet_t *p_sig) |
| uint8_t * | hash_sha1_from_file (const char *psz_file, signature_packet_t *p_sig) |
| uint8_t * | hash_sha1_from_public_key (public_key_t *p_pkey) |
| typedef struct public_key_packet_t public_key_packet_t |
| typedef struct public_key_t public_key_t |
| typedef struct signature_packet_t signature_packet_t |
| anonymous enum |
| public_key_t* download_key | ( | vlc_object_t * | p_this, |
| const uint8_t * | p_longid, | ||
| const uint8_t * | p_signature_issuer | ||
| ) |
| int download_signature | ( | vlc_object_t * | p_this, |
| signature_packet_t * | p_sig, | ||
| const char * | psz_url | ||
| ) |
| uint8_t* hash_sha1_from_file | ( | const char * | psz_file, |
| signature_packet_t * | p_sig | ||
| ) |
| uint8_t* hash_sha1_from_public_key | ( | public_key_t * | p_pkey | ) |
| uint8_t* hash_sha1_from_text | ( | const char * | psz_text, |
| signature_packet_t * | p_sig | ||
| ) |
| int parse_public_key | ( | const uint8_t * | p_key_data, |
| size_t | i_key_len, | ||
| public_key_t * | p_key, | ||
| const uint8_t * | p_sig_issuer | ||
| ) |
| int verify_signature | ( | uint8_t * | p_r, |
| uint8_t * | p_s, | ||
| public_key_packet_t * | p_key, | ||
| uint8_t * | p_hash | ||
| ) |
1.8.1.2