/titanic_44/usr/src/lib/libpkg/common/ |
H A D | keystore.h | 93 PKG_ERR *err; 109 extern int open_keystore(PKG_ERR *, char *, char *, 112 extern int print_certs(PKG_ERR *, keystore_handle_t, char *, 115 extern int check_cert(PKG_ERR *, X509 *); 117 extern int check_cert_and_key(PKG_ERR *, X509 *, EVP_PKEY *); 119 extern int print_cert(PKG_ERR *, X509 *, 122 extern int close_keystore(PKG_ERR *, keystore_handle_t, 125 extern int merge_ca_cert(PKG_ERR *, X509 *, keystore_handle_t); 126 extern int merge_cert_and_key(PKG_ERR *, X509 *, EVP_PKEY *, 129 extern int delete_cert_and_keys(PKG_ERR *, keystore_handle_t, [all …]
|
H A D | pkgerr.h | 86 typedef struct _pkg_err_struct PKG_ERR; typedef 92 PKG_ERR *pkgerr_new(); 93 void pkgerr_add(PKG_ERR *, PKG_ERR_CODE, char *, ...); 94 void pkgerr_clear(PKG_ERR *); 95 int pkgerr_dump(PKG_ERR *, FILE *); 96 int pkgerr_num(PKG_ERR *); 97 char *pkgerr_get(PKG_ERR *, int); 98 void pkgerr_free(PKG_ERR *);
|
H A D | pkgerr.c | 55 PKG_ERR 58 PKG_ERR *newerr; in pkgerr_new() 60 newerr = (PKG_ERR *)malloc(sizeof (PKG_ERR)); in pkgerr_new() 69 pkgerr_add(PKG_ERR *err, PKG_ERR_CODE code, char *fmt, ...) in pkgerr_add() 89 pkgerr_clear(PKG_ERR *err) in pkgerr_clear() 105 pkgerr_num(PKG_ERR *err) in pkgerr_num() 111 *pkgerr_get(PKG_ERR *err, int pos) in pkgerr_get() 121 pkgerr_free(PKG_ERR *err) in pkgerr_free()
|
H A D | pkgweb.h | 106 extern boolean_t web_session_control(PKG_ERR *, char *, char *, 108 extern boolean_t get_signature(PKG_ERR *, char *, struct pkgdev *, 110 extern boolean_t validate_signature(PKG_ERR *, char *, BIO *, PKCS7 *, 112 extern boolean_t ds_validate_signature(PKG_ERR *, struct pkgdev *, char **, 114 extern boolean_t get_proxy_port(PKG_ERR *, char **, ushort_t *);
|
H A D | keystore.c | 78 static boolean_t verify_keystore_integrity(PKG_ERR *, keystore_t *); 80 static boolean_t resolve_paths(PKG_ERR *, char *, char *, 82 static boolean_t lock_keystore(PKG_ERR *, long, keystore_t *); 84 static boolean_t unlock_keystore(PKG_ERR *, keystore_t *); 85 static boolean_t read_keystore(PKG_ERR *, keystore_t *, 87 static boolean_t write_keystore(PKG_ERR *, keystore_t *, 89 static boolean_t write_keystore_file(PKG_ERR *, char *, PKCS12 *); 90 static boolean_t clear_keystore_file(PKG_ERR *, char *); 91 static PKCS12 *read_keystore_file(PKG_ERR *, char *); 95 static boolean_t restore_keystore_file(PKG_ERR *, char *); [all …]
|
H A D | pkgweb.c | 104 static boolean_t get_ENV_proxyport(PKG_ERR *, ushort_t *); 106 static WebStatus web_send_request(PKG_ERR *, int, int, int); 107 static boolean_t web_eval_headers(PKG_ERR *); 108 static WebStatus web_get_file(PKG_ERR *, char *, int, char **); 109 static boolean_t ck_dwnld_dir_space(PKG_ERR *, char *, ulong_t); 110 static WebStatus web_connect(PKG_ERR *); 111 static boolean_t web_setup(PKG_ERR *); 112 static boolean_t check_dwnld_dir(PKG_ERR *, char *); 113 static boolean_t parse_url_proxy(PKG_ERR *, char *, char *, ushort_t); 116 static boolean_t get_ENV_proxy(PKG_ERR *, char **); [all …]
|
H A D | pkglib.h | 438 extern int BIO_ds_dump_header(PKG_ERR *, BIO *); 439 extern int BIO_ds_dump(PKG_ERR *, char *, BIO *); 506 extern void pkgerr(PKG_ERR *); 520 extern int get_cert_chain(PKG_ERR *, X509 *, STACK_OF(X509) *,
|
H A D | progerr.c | 98 pkgerr(PKG_ERR *err) in pkgerr()
|
H A D | security.c | 95 get_cert_chain(PKG_ERR *err, X509 *cert, STACK_OF(X509) *clcerts, in get_cert_chain()
|
H A D | dstream.c | 734 BIO_ds_dump(PKG_ERR *err, char *device, BIO *bio) in BIO_ds_dump() 771 BIO_ds_dump_header(PKG_ERR *err, BIO *bio) in BIO_ds_dump_header()
|
H A D | pkgtrans.c | 249 PKG_ERR *err; in _pkgtrans()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | pkgadm.h | 55 extern void log_pkgerr(LogMsgType, PKG_ERR *); 68 extern int load_cert_and_key(PKG_ERR *, FILE *, 70 extern int load_all_certs(PKG_ERR *, FILE *,
|
H A D | certs.c | 78 load_cert_and_key(PKG_ERR *err, FILE *incert, in load_cert_and_key() 186 load_all_certs(PKG_ERR *err, FILE *incert, in load_all_certs()
|
H A D | removecert.c | 64 PKG_ERR *err = NULL; in removecert()
|
H A D | main.c | 195 log_pkgerr(LogMsgType type, PKG_ERR *err) in log_pkgerr()
|
H A D | addcert.c | 88 PKG_ERR *err = NULL; in addcert() 453 PKG_ERR *err; in verify_trust()
|
H A D | listcert.c | 68 PKG_ERR *err = NULL; in listcert()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgtrans/ |
H A D | main.c | 67 PKG_ERR *err; in main() 202 PKG_ERR *err; in quit()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | main.c | 258 int a_ignoreSignatures, PKG_ERR *a_err, 293 PKG_ERR *err = NULL; in main() 3128 char **a_categoryList, int a_ignoreSignatures, PKG_ERR *a_err, in get_package_list()
|