151 void (*pf_callback)(
void *, bool );
174 const uint8_t *p_signature_issuer );
184 const uint8_t *p_key_data,
size_t i_key_len,
public_key_t *p_key,
185 const uint8_t *p_sig_issuer );
Definition: vlc_objects.h:91
uint8_t q[2+256/8]
Definition: update.h:62
uint8_t n[2+4096/8]
Definition: update.h:67
struct public_key_packet_t::@90::@92 rsa
uint8_t version
Definition: update.h:54
uint8_t timestamp[4]
Definition: update.h:55
uint8_t e[2+4096/8]
Definition: update.h:68
uint8_t algo
Definition: update.h:56
uint8_t y[2+3072/8]
Definition: update.h:64
union public_key_packet_t::@90 sig
uint8_t g[2+3072/8]
Definition: update.h:63
struct public_key_packet_t::@90::@91 dsa
uint8_t p[2+3072/8]
Definition: update.h:61
uint8_t * psz_username
Definition: update.h:121
uint8_t longid[8]
Definition: update.h:120
signature_packet_t sig
Definition: update.h:125
public_key_packet_t key
Definition: update.h:123
uint8_t timestamp[4]
Definition: update.h:97
uint8_t r[2+256/8]
Definition: update.h:106
uint8_t hash_verification[2]
Definition: update.h:82
uint8_t issuer_longid[8]
Definition: update.h:83
uint8_t version
Definition: update.h:76
struct signature_packet_t::@94::@97 dsa
struct signature_packet_t::@93::@95 v4
uint8_t s[2+256/8]
Definition: update.h:107
uint8_t * hashed_data
Definition: update.h:90
uint8_t * unhashed_data
Definition: update.h:92
uint8_t unhashed_data_len[2]
Definition: update.h:91
union signature_packet_t::@93 specific
struct signature_packet_t::@94::@98 rsa
union signature_packet_t::@94 algo_specific
uint8_t public_key_algo
Definition: update.h:79
uint8_t type
Definition: update.h:78
struct signature_packet_t::@93::@96 v3
uint8_t hashed_data_len[2]
Definition: update.h:89
uint8_t digest_algo
Definition: update.h:80
Non blocking update availability verification.
Definition: update.h:147
update_t * p_update
Definition: update.h:150
void * p_data
Definition: update.h:152
vlc_thread_t thread
Definition: update.h:148
Non blocking binary download.
Definition: update.h:134
char * psz_destdir
Definition: update.h:140
update_t * p_update
Definition: update.h:139
atomic_bool aborted
Definition: update.h:138
vlc_thread_t thread
Definition: update.h:137
Describes an update VLC release number.
Definition: vlc_update.h:41
char * psz_url
Download URL.
Definition: vlc_update.h:46
The update object.
Definition: update.h:159
struct update_release_t release
Release (version)
Definition: update.h:162
vlc_mutex_t lock
Definition: update.h:161
public_key_t * p_pkey
Definition: update.h:163
update_download_thread_t * p_download
Definition: update.h:164
update_check_thread_t * p_check
Definition: update.h:165
libvlc_int_t * p_libvlc
Definition: update.h:160
Mutex.
Definition: vlc_threads.h:195
VLC object common members.
Definition: vlc_objects.h:45
struct vlc_object_marker * obj
Definition: vlc_objects.h:49
Thread handle.
Definition: vlc_threads.h:160
@ GENERIC_KEY_SIGNATURE
Definition: update.h:40
@ BINARY_SIGNATURE
Definition: update.h:36
@ POSITIVE_KEY_SIGNATURE
Definition: update.h:43
@ PERSONA_KEY_SIGNATURE
Definition: update.h:41
@ CASUAL_KEY_SIGNATURE
Definition: update.h:42
@ TEXT_SIGNATURE
Definition: update.h:37
uint8_t * hash_from_text(const char *psz_text, signature_packet_t *p_sig)
Definition: update_crypto.c:791
@ USER_ID_PACKET
Definition: update.h:31
@ SIGNATURE_PACKET
Definition: update.h:29
@ PUBLIC_KEY_PACKET
Definition: update.h:30
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)
Definition: update_crypto.c:606
uint8_t * hash_from_file(const char *psz_file, signature_packet_t *p_sig)
Definition: update_crypto.c:826
@ ISSUER_SUBPACKET
Definition: update.h:48
int verify_signature(signature_packet_t *sign, public_key_packet_t *p_key, uint8_t *p_hash)
Definition: update_crypto.c:588
int download_signature(vlc_object_t *p_this, signature_packet_t *p_sig, const char *psz_url)
Definition: update_crypto.c:996
uint8_t * hash_from_public_key(public_key_t *p_pkey)
Definition: update_crypto.c:846
public_key_t * download_key(vlc_object_t *p_this, const uint8_t *p_longid, const uint8_t *p_signature_issuer)
Definition: update_crypto.c:931
VLC software update interface.