VLC  3.0.0-git
Modules | Files | Enumerations | Enumerator | Variables
Keystore and credential API
Collaboration diagram for Keystore and credential API:

Modules

 Keystore public API
 
 Credential API
 
 Implemented by keystore modules
 

Files

file  vlc_keystore.h
 This file declares vlc keystore API.
 

Enumerations

enum  {
  vlc_credential::GET_FROM_URL, vlc_credential::GET_FROM_OPTION, vlc_credential::GET_FROM_MEMORY_KEYSTORE, vlc_credential::GET_FROM_KEYSTORE,
  vlc_credential::GET_FROM_DIALOG
}
 

Variables

char * vlc_keystore_entry::ppsz_values [KEY_MAX]
 Set of key/values. More...
 
uint8_t * vlc_keystore_entry::p_secret
 Secret password. More...
 
size_t vlc_keystore_entry::i_secret_len
 Length of the secret. More...
 
const vlc_url_tvlc_credential::p_url
 url to store or to search More...
 
const char * vlc_credential::psz_realm
 http realm or smb domain to search, can be overridden after a call to vlc_credential_get() More...
 
const char * vlc_credential::psz_authtype
 http authtype to search, can be overridden after a call to vlc_credential_get() More...
 
const char * vlc_credential::psz_username
 valid only if vlc_credential_get() returned true More...
 
const char * vlc_credential::psz_password
 valid only if vlc_credential_get() returned true More...
 
enum vlc_credential:: { ... }  vlc_credential::i_get_order
 
vlc_keystorevlc_credential::p_keystore
 
vlc_keystore_entryvlc_credential::p_entries
 
unsigned int vlc_credential::i_entries_count
 
char * vlc_credential::psz_split_domain
 
char * vlc_credential::psz_var_username
 
char * vlc_credential::psz_var_password
 
char * vlc_credential::psz_dialog_username
 
char * vlc_credential::psz_dialog_password
 
bool vlc_credential::b_from_keystore
 
bool vlc_credential::b_store
 
struct vlc_common_members vlc_keystore::obj
 
module_tvlc_keystore::p_module
 
vlc_keystore_sysvlc_keystore::p_sys
 
int(* vlc_keystore::pf_store )(vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX], const uint8_t *p_secret, size_t i_secret_len, const char *psz_label)
 See vlc_keystore_store() More...
 
unsigned int(* vlc_keystore::pf_find )(vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX], vlc_keystore_entry **pp_entries)
 See vlc_keystore_find() More...
 
unsigned int(* vlc_keystore::pf_remove )(vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX])
 See vlc_keystore_remove() More...
 

Detailed Description

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GET_FROM_URL 
GET_FROM_OPTION 
GET_FROM_MEMORY_KEYSTORE 
GET_FROM_KEYSTORE 
GET_FROM_DIALOG 

Variable Documentation

◆ b_from_keystore

bool vlc_credential::b_from_keystore

◆ b_store

bool vlc_credential::b_store

◆ i_entries_count

unsigned int vlc_credential::i_entries_count

◆ i_get_order

enum { ... } vlc_credential::i_get_order

◆ i_secret_len

size_t vlc_keystore_entry::i_secret_len

Length of the secret.

Referenced by credential_find_keystore(), and vlc_keystore_entry_set_secret().

◆ obj

struct vlc_common_members vlc_keystore::obj

◆ p_entries

vlc_keystore_entry* vlc_credential::p_entries

◆ p_keystore

vlc_keystore* vlc_credential::p_keystore

◆ p_module

module_t* vlc_keystore::p_module

◆ p_secret

uint8_t* vlc_keystore_entry::p_secret

◆ p_sys

vlc_keystore_sys* vlc_keystore::p_sys

◆ p_url

const vlc_url_t* vlc_credential::p_url

◆ pf_find

unsigned int(* vlc_keystore::pf_find) (vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX], vlc_keystore_entry **pp_entries)

◆ pf_remove

unsigned int(* vlc_keystore::pf_remove) (vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX])

◆ pf_store

int(* vlc_keystore::pf_store) (vlc_keystore *p_keystore, const char *const ppsz_values[KEY_MAX], const uint8_t *p_secret, size_t i_secret_len, const char *psz_label)

◆ ppsz_values

char* vlc_keystore_entry::ppsz_values[KEY_MAX]

Set of key/values.

Values can be NULL

Referenced by credential_find_keystore(), find_closest_path(), and vlc_keystore_release_entry().

◆ psz_authtype

const char* vlc_credential::psz_authtype

http authtype to search, can be overridden after a call to vlc_credential_get()

Referenced by credential_find_keystore(), Open(), and vlc_credential_store().

◆ psz_dialog_password

char* vlc_credential::psz_dialog_password

◆ psz_dialog_username

char* vlc_credential::psz_dialog_username

◆ psz_password

const char* vlc_credential::psz_password

◆ psz_realm

const char* vlc_credential::psz_realm

http realm or smb domain to search, can be overridden after a call to vlc_credential_get()

Referenced by credential_find_keystore(), Open(), smb_split_domain(), and vlc_credential_store().

◆ psz_split_domain

char* vlc_credential::psz_split_domain

◆ psz_username

const char* vlc_credential::psz_username

◆ psz_var_password

char* vlc_credential::psz_var_password

◆ psz_var_username

char* vlc_credential::psz_var_username