|
@@ -758,6 +758,21 @@ const
|
|
|
GNUTLS_KEY_ENCIPHER_ONLY = 1;
|
|
|
GNUTLS_KEY_DECIPHER_ONLY = 32768;
|
|
|
|
|
|
+
|
|
|
+ GNUTLS_PUBKEY_DISABLE_CALLBACKS = 1 shl 2;
|
|
|
+ GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT = 1 shl 3;
|
|
|
+ GNUTLS_EXPORT_FLAG_NO_LZ = 1;
|
|
|
+
|
|
|
+ GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE = 1;
|
|
|
+ GNUTLS_PRIVKEY_IMPORT_COPY = 1 shl 1;
|
|
|
+ GNUTLS_PRIVKEY_DISABLE_CALLBACKS = 1 shl 2;
|
|
|
+ GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA = 1 shl 4;
|
|
|
+ GNUTLS_PRIVKEY_FLAG_PROVABLE = 1 shl 5;
|
|
|
+ GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT = 1 shl 6;
|
|
|
+ GNUTLS_PRIVKEY_SIGN_FLAG_RSA_PSS = 1 shl 7;
|
|
|
+ GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE = 1 shl 8;
|
|
|
+ GNUTLS_PRIVKEY_FLAG_CA = 1 shl 9;
|
|
|
+
|
|
|
{ Pointers to basic pascal types, inserted by h2pas conversion program.}
|
|
|
Type
|
|
|
PLongint = ^Longint;
|
|
@@ -1251,6 +1266,92 @@ Type
|
|
|
Pgnutls_pkcs7_sign_flags = ^Tgnutls_pkcs7_sign_flags;
|
|
|
Tgnutls_pkcs7_sign_flags = Longint;
|
|
|
|
|
|
+
|
|
|
+ Pgnutls_abstract_export_flags = ^tgnutls_abstract_export_flags;
|
|
|
+ Pgnutls_abstract_export_flags_t = ^tgnutls_abstract_export_flags_t;
|
|
|
+ Pgnutls_cert_retr_st = ^tgnutls_cert_retr_st;
|
|
|
+ Pgnutls_certificate_retrieve_function2 = ^tgnutls_certificate_retrieve_function2;
|
|
|
+ Pgnutls_certificate_retrieve_function3 = ^tgnutls_certificate_retrieve_function3;
|
|
|
+ Pgnutls_gost_paramset_t = ^tgnutls_gost_paramset_t;
|
|
|
+ Pgnutls_keygen_data_st = ^tgnutls_keygen_data_st;
|
|
|
+ Pgnutls_pcert_st = ^tgnutls_pcert_st;
|
|
|
+ ppgnutls_pcert_st = ^pgnutls_pcert_st;
|
|
|
+ Pgnutls_privkey_flags = ^tgnutls_privkey_flags;
|
|
|
+ Pgnutls_privkey_flags_t = ^tgnutls_privkey_flags_t;
|
|
|
+
|
|
|
+ Pgnutls_pubkey_flags = ^Tgnutls_pubkey_flags;
|
|
|
+ Tgnutls_pubkey_flags = Longint;
|
|
|
+
|
|
|
+ Tgnutls_pubkey_flags_t = Tgnutls_pubkey_flags;
|
|
|
+ Pgnutls_pubkey_flags_t = ^Tgnutls_pubkey_flags_t;
|
|
|
+
|
|
|
+ Tgnutls_privkey_sign_func = function (key:Tgnutls_privkey_t; userdata:pointer; raw_data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ Tgnutls_privkey_decrypt_func = function (key:Tgnutls_privkey_t; userdata:pointer; ciphertext:Pgnutls_datum_t; plaintext:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ Tgnutls_privkey_decrypt_func2 = function (key:Tgnutls_privkey_t; userdata:pointer; ciphertext:Pgnutls_datum_t; plaintext:Pbyte; plaintext_size:Tsize_t):longint;cdecl;
|
|
|
+ Tgnutls_privkey_sign_hash_func = function (key:Tgnutls_privkey_t; algo:Tgnutls_sign_algorithm_t; userdata:pointer; flags:dword; hash:Pgnutls_datum_t;
|
|
|
+ signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ Tgnutls_privkey_sign_data_func = function (key:Tgnutls_privkey_t; algo:Tgnutls_sign_algorithm_t; userdata:pointer; flags:dword; data:Pgnutls_datum_t;
|
|
|
+ signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ Tgnutls_privkey_deinit_func = procedure (key:Tgnutls_privkey_t; userdata:pointer);cdecl;
|
|
|
+ Tgnutls_privkey_info_func = function (key:Tgnutls_privkey_t; flags:dword; userdata:pointer):longint;cdecl;
|
|
|
+
|
|
|
+
|
|
|
+ Tgnutls_pcert_st = record
|
|
|
+ pubkey : Tgnutls_pubkey_t;
|
|
|
+ cert : Tgnutls_datum_t;
|
|
|
+ _type : Tgnutls_certificate_type_t;
|
|
|
+ end;
|
|
|
+
|
|
|
+ Tgnutls_cert_retr_st = record
|
|
|
+ version : dword;
|
|
|
+ cred : Tgnutls_certificate_credentials_t;
|
|
|
+ req_ca_rdn : Pgnutls_datum_t;
|
|
|
+ nreqs : dword;
|
|
|
+ pk_algos : Pgnutls_pk_algorithm_t;
|
|
|
+ pk_algos_length : dword;
|
|
|
+ padding : array[0..63] of byte;
|
|
|
+ end;
|
|
|
+
|
|
|
+ ppgnutls_ocsp_data_st = pointer;
|
|
|
+
|
|
|
+ tgnutls_certificate_retrieve_function3 = function(
|
|
|
+ p1 : tgnutls_session_t;
|
|
|
+ info : tgnutls_cert_retr_st;
|
|
|
+ certs : ppgnutls_pcert_st;
|
|
|
+ pcert_length : Pcuint;
|
|
|
+ ocsp : ppgnutls_ocsp_data_st;
|
|
|
+ ocsp_length : pcuint;
|
|
|
+ privkey: pgnutls_privkey_t;
|
|
|
+ flags : pcint
|
|
|
+ ) : cint; cdecl;
|
|
|
+
|
|
|
+ tgnutls_certificate_retrieve_function2 = function(p1 : tgnutls_session_t;
|
|
|
+ req_ca_rdn : pgnutls_datum_t;
|
|
|
+ nreqs : cint;
|
|
|
+ pk_algos: pgnutls_pk_algorithm_t;
|
|
|
+ pk_algos_length: cint;
|
|
|
+ p2 : ppgnutls_pcert_st;
|
|
|
+ pcert_length : pcuint;
|
|
|
+ privkey: pgnutls_privkey_t) : cint;cdecl;
|
|
|
+
|
|
|
+ Tgnutls_privkey_flags = Longint;
|
|
|
+// Pgnutls_privkey_flags_t = ^Tgnutls_privkey_flags_t;
|
|
|
+
|
|
|
+ Tgnutls_abstract_export_flags = longint;
|
|
|
+ Tgnutls_abstract_export_flags_t = Tgnutls_abstract_export_flags;
|
|
|
+
|
|
|
+
|
|
|
+ Tgnutls_gost_paramset_t = Longint;
|
|
|
+ Tgnutls_privkey_flags_t = Longint;
|
|
|
+ Tgnutls_keygen_data_st = record end;
|
|
|
+ Tgnutls_keygen_data_t = Tgnutls_keygen_data_st;
|
|
|
+ tgnutls_x509_spki_st = record end;
|
|
|
+ Tgnutls_x509_spki_t = Tgnutls_x509_spki_st;
|
|
|
+ tgnutls_pkcs11_obj_t = Pointer;
|
|
|
+ Tgnutls_openpgp_crt_fmt_t = pointer;
|
|
|
+ Tgnutls_openpgp_keyid_t = longint;
|
|
|
+ Tgnutls_tpmkey_fmt_t = longint;
|
|
|
+
|
|
|
Var
|
|
|
gnutls_malloc : Tgnutls_alloc_function;cvar;external;
|
|
|
gnutls_realloc : Tgnutls_realloc_function;cvar;external;
|
|
@@ -1948,7 +2049,133 @@ var
|
|
|
gnutls_pkcs7_get_crl_raw2 : function(pkcs7:Tgnutls_pkcs7_t; indx:longint; crl:Pgnutls_datum_t):longint;cdecl;
|
|
|
gnutls_pkcs7_print : function(pkcs7:Tgnutls_pkcs7_t; format:Tgnutls_certificate_print_formats_t; outd:Pgnutls_datum_t):longint;cdecl;
|
|
|
|
|
|
-
|
|
|
+ gnutls_pubkey_init : function(key:Pgnutls_pubkey_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_deinit : procedure(key:Tgnutls_pubkey_t);cdecl;
|
|
|
+ gnutls_pubkey_verify_params : function(key:Tgnutls_pubkey_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_set_pin_function : procedure(key:Tgnutls_pubkey_t; fn:Tgnutls_pin_callback_t; userdata:pointer);cdecl;
|
|
|
+ gnutls_pubkey_get_pk_algorithm : function(key:Tgnutls_pubkey_t; bits:Pdword):longint;cdecl;
|
|
|
+ gnutls_pubkey_set_spki : function(key:Tgnutls_pubkey_t; spki:Tgnutls_x509_spki_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_get_spki : function(key:Tgnutls_pubkey_t; spki:Tgnutls_x509_spki_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_x509 : function(key:Tgnutls_pubkey_t; crt:Tgnutls_x509_crt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_x509_crq : function(key:Tgnutls_pubkey_t; crq:Tgnutls_x509_crq_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_pkcs11 : function(key:Tgnutls_pubkey_t; obj:Tgnutls_pkcs11_obj_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_openpgp : function(key:Tgnutls_pubkey_t; crt:Tgnutls_openpgp_crt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_openpgp_raw : function(pkey:Tgnutls_pubkey_t; data:Pgnutls_datum_t; format:Tgnutls_openpgp_crt_fmt_t; keyid:Tgnutls_openpgp_keyid_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_x509_raw : function(pkey:Tgnutls_pubkey_t; data:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_privkey : function(key:Tgnutls_pubkey_t; pkey:Tgnutls_privkey_t; usage:dword; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_tpm_url : function(pkey:Tgnutls_pubkey_t; url:Pchar; srk_password:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_url : function(key:Tgnutls_pubkey_t; url:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_tpm_raw : function(pkey:Tgnutls_pubkey_t; fdata:Pgnutls_datum_t; format:Tgnutls_tpmkey_fmt_t; srk_password:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_get_preferred_hash_algorithm : function(key:Tgnutls_pubkey_t; hash:Pgnutls_digest_algorithm_t; mand:Pdword):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_rsa_raw : function(key:Tgnutls_pubkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_rsa_raw2 : function(key:Tgnutls_pubkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_dsa_raw : function(key:Tgnutls_pubkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_dsa_raw2 : function(key:Tgnutls_pubkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t;
|
|
|
+ flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_ecc_raw2 : function(key:Tgnutls_pubkey_t; curve:Pgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_gost_raw2 : function(key:Tgnutls_pubkey_t; curve:Pgnutls_ecc_curve_t; digest:Pgnutls_digest_algorithm_t; paramset:Pgnutls_gost_paramset_t; x:Pgnutls_datum_t;
|
|
|
+ y:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_ecc_raw : function(key:Tgnutls_pubkey_t; curve:Pgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_export_ecc_x962 : function(key:Tgnutls_pubkey_t; parameters:Pgnutls_datum_t; ecpoint:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_export : function(key:Tgnutls_pubkey_t; format:Tgnutls_x509_crt_fmt_t; output_data:pointer; output_data_size:Psize_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_export2 : function(key:Tgnutls_pubkey_t; format:Tgnutls_x509_crt_fmt_t; aout:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_get_key_id : function(key:Tgnutls_pubkey_t; flags:dword; output_data:Pbyte; output_data_size:Psize_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_get_openpgp_key_id : function(key:Tgnutls_pubkey_t; flags:dword; output_data:Pbyte; output_data_size:Psize_t; subkey:Pdword):longint;cdecl;
|
|
|
+ gnutls_pubkey_get_key_usage : function(key:Tgnutls_pubkey_t; usage:Pdword):longint;cdecl;
|
|
|
+ gnutls_pubkey_set_key_usage : function(key:Tgnutls_pubkey_t; usage:dword):longint;cdecl;
|
|
|
+ gnutls_pubkey_import : function(key:Tgnutls_pubkey_t; data:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_dsa_raw : function(key:Tgnutls_pubkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_rsa_raw : function(key:Tgnutls_pubkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_ecc_x962 : function(key:Tgnutls_pubkey_t; parameters:Pgnutls_datum_t; ecpoint:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_ecc_raw : function(key:Tgnutls_pubkey_t; curve:Tgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_import_gost_raw : function(key:Tgnutls_pubkey_t; curve:Tgnutls_ecc_curve_t; digest:Tgnutls_digest_algorithm_t; paramset:Tgnutls_gost_paramset_t; x:Pgnutls_datum_t;
|
|
|
+ y:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_encrypt_data : function(key:Tgnutls_pubkey_t; flags:dword; plaintext:Pgnutls_datum_t; ciphertext:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_x509_crt_set_pubkey : function(crt:Tgnutls_x509_crt_t; key:Tgnutls_pubkey_t):longint;cdecl;
|
|
|
+ gnutls_x509_crq_set_pubkey : function(crq:Tgnutls_x509_crq_t; key:Tgnutls_pubkey_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_verify_hash2 : function(key:Tgnutls_pubkey_t; algo:Tgnutls_sign_algorithm_t; flags:dword; hash:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_verify_data2 : function(pubkey:Tgnutls_pubkey_t; algo:Tgnutls_sign_algorithm_t; flags:dword; data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_init : function(key:Pgnutls_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_deinit : procedure(key:Tgnutls_privkey_t);cdecl;
|
|
|
+ gnutls_privkey_generate : function(key:Tgnutls_privkey_t; algo:Tgnutls_pk_algorithm_t; bits:dword; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_generate2 : function(pkey:Tgnutls_privkey_t; algo:Tgnutls_pk_algorithm_t; bits:dword; flags:dword; data:Pgnutls_keygen_data_st;
|
|
|
+ data_size:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_set_spki : function(key:Tgnutls_privkey_t; spki:Tgnutls_x509_spki_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_get_spki : function(key:Tgnutls_privkey_t; spki:Tgnutls_x509_spki_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_verify_seed : function(key:Tgnutls_privkey_t; para2:Tgnutls_digest_algorithm_t; seed:pointer; seed_size:Tsize_t):longint;cdecl;
|
|
|
+ gnutls_privkey_get_seed : function(key:Tgnutls_privkey_t; para2:Pgnutls_digest_algorithm_t; seed:pointer; seed_size:Psize_t):longint;cdecl;
|
|
|
+ gnutls_privkey_verify_params : function(key:Tgnutls_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_set_flags : procedure(key:Tgnutls_privkey_t; flags:dword);cdecl;
|
|
|
+ gnutls_privkey_set_pin_function : procedure(key:Tgnutls_privkey_t; fn:Tgnutls_pin_callback_t; userdata:pointer);cdecl;
|
|
|
+ gnutls_privkey_get_pk_algorithm : function(key:Tgnutls_privkey_t; bits:Pdword):longint;cdecl;
|
|
|
+ gnutls_privkey_get_type : function(key:Tgnutls_privkey_t):Tgnutls_privkey_type_t;cdecl;
|
|
|
+ gnutls_privkey_status : function(key:Tgnutls_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_import_pkcs11 : function(pkey:Tgnutls_privkey_t; key:Tgnutls_pkcs11_privkey_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_x509 : function(pkey:Tgnutls_privkey_t; key:Tgnutls_x509_privkey_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_openpgp : function(pkey:Tgnutls_privkey_t; key:Tgnutls_openpgp_privkey_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_export_x509 : function(pkey:Tgnutls_privkey_t; key:Pgnutls_x509_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_openpgp : function(pkey:Tgnutls_privkey_t; key:Pgnutls_openpgp_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_pkcs11 : function(pkey:Tgnutls_privkey_t; key:Pgnutls_pkcs11_privkey_t):longint;cdecl;
|
|
|
+ gnutls_privkey_import_openpgp_raw : function(pkey:Tgnutls_privkey_t; data:Pgnutls_datum_t; format:Tgnutls_openpgp_crt_fmt_t; keyid:Tgnutls_openpgp_keyid_t; password:Pchar):longint;cdecl;
|
|
|
+ gnutls_privkey_import_x509_raw : function(pkey:Tgnutls_privkey_t; data:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t; password:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_tpm_raw : function(pkey:Tgnutls_privkey_t; fdata:Pgnutls_datum_t; format:Tgnutls_tpmkey_fmt_t; srk_password:Pchar; key_password:Pchar;
|
|
|
+ flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_tpm_url : function(pkey:Tgnutls_privkey_t; url:Pchar; srk_password:Pchar; key_password:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_url : function(key:Tgnutls_privkey_t; url:Pchar; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_ext : function(pkey:Tgnutls_privkey_t; pk:Tgnutls_pk_algorithm_t; userdata:pointer; sign_func:Tgnutls_privkey_sign_func; decrypt_func:Tgnutls_privkey_decrypt_func;
|
|
|
+ flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_ext2 : function(pkey:Tgnutls_privkey_t; pk:Tgnutls_pk_algorithm_t; userdata:pointer; sign_func:Tgnutls_privkey_sign_func; decrypt_func:Tgnutls_privkey_decrypt_func;
|
|
|
+ deinit_func:Tgnutls_privkey_deinit_func; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_ext3 : function(pkey:Tgnutls_privkey_t; userdata:pointer; sign_func:Tgnutls_privkey_sign_func; decrypt_func:Tgnutls_privkey_decrypt_func; deinit_func:Tgnutls_privkey_deinit_func;
|
|
|
+ info_func:Tgnutls_privkey_info_func; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_ext4 : function(pkey:Tgnutls_privkey_t; userdata:pointer; sign_data_func:Tgnutls_privkey_sign_data_func; sign_hash_func:Tgnutls_privkey_sign_hash_func; decrypt_func:Tgnutls_privkey_decrypt_func;
|
|
|
+ deinit_func:Tgnutls_privkey_deinit_func; info_func:Tgnutls_privkey_info_func; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_import_dsa_raw : function(key:Tgnutls_privkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t;
|
|
|
+ x:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_import_rsa_raw : function(key:Tgnutls_privkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t; d:Pgnutls_datum_t; p:Pgnutls_datum_t;
|
|
|
+ q:Pgnutls_datum_t; u:Pgnutls_datum_t; e1:Pgnutls_datum_t; e2:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_import_ecc_raw : function(key:Tgnutls_privkey_t; curve:Tgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t; k:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_import_gost_raw : function(key:Tgnutls_privkey_t; curve:Tgnutls_ecc_curve_t; digest:Tgnutls_digest_algorithm_t; paramset:Tgnutls_gost_paramset_t; x:Pgnutls_datum_t;
|
|
|
+ y:Pgnutls_datum_t; k:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_sign_data : function(signer:Tgnutls_privkey_t; hash:Tgnutls_digest_algorithm_t; flags:dword; data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_sign_data2 : function(signer:Tgnutls_privkey_t; algo:Tgnutls_sign_algorithm_t; flags:dword; data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_sign_hash : function(signer:Tgnutls_privkey_t; hash_algo:Tgnutls_digest_algorithm_t; flags:dword; hash_data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_sign_hash2 : function(signer:Tgnutls_privkey_t; algo:Tgnutls_sign_algorithm_t; flags:dword; hash_data:Pgnutls_datum_t; signature:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_decrypt_data : function(key:Tgnutls_privkey_t; flags:dword; ciphertext:Pgnutls_datum_t; plaintext:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_decrypt_data2 : function(key:Tgnutls_privkey_t; flags:dword; ciphertext:Pgnutls_datum_t; plaintext:Pbyte; plaintext_size:Tsize_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_rsa_raw : function(key:Tgnutls_privkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t; d:Pgnutls_datum_t; p:Pgnutls_datum_t;
|
|
|
+ q:Pgnutls_datum_t; u:Pgnutls_datum_t; e1:Pgnutls_datum_t; e2:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_rsa_raw2 : function(key:Tgnutls_privkey_t; m:Pgnutls_datum_t; e:Pgnutls_datum_t; d:Pgnutls_datum_t; p:Pgnutls_datum_t;
|
|
|
+ q:Pgnutls_datum_t; u:Pgnutls_datum_t; e1:Pgnutls_datum_t; e2:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_export_dsa_raw : function(key:Tgnutls_privkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t;
|
|
|
+ x:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_dsa_raw2 : function(key:Tgnutls_privkey_t; p:Pgnutls_datum_t; q:Pgnutls_datum_t; g:Pgnutls_datum_t; y:Pgnutls_datum_t;
|
|
|
+ x:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_export_ecc_raw : function(key:Tgnutls_privkey_t; curve:Pgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t; k:Pgnutls_datum_t):longint;cdecl;
|
|
|
+ gnutls_privkey_export_ecc_raw2 : function(key:Tgnutls_privkey_t; curve:Pgnutls_ecc_curve_t; x:Pgnutls_datum_t; y:Pgnutls_datum_t; k:Pgnutls_datum_t;
|
|
|
+ flags:dword):longint;cdecl;
|
|
|
+ gnutls_privkey_export_gost_raw2 : function(key:Tgnutls_privkey_t; curve:Pgnutls_ecc_curve_t; digest:Pgnutls_digest_algorithm_t; paramset:Pgnutls_gost_paramset_t; x:Pgnutls_datum_t;
|
|
|
+ y:Pgnutls_datum_t; k:Pgnutls_datum_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_x509_crt_privkey_sign : function(crt:Tgnutls_x509_crt_t; issuer:Tgnutls_x509_crt_t; issuer_key:Tgnutls_privkey_t; dig:Tgnutls_digest_algorithm_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_x509_crl_privkey_sign : function(crl:Tgnutls_x509_crl_t; issuer:Tgnutls_x509_crt_t; issuer_key:Tgnutls_privkey_t; dig:Tgnutls_digest_algorithm_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_x509_crq_privkey_sign : function(crq:Tgnutls_x509_crq_t; key:Tgnutls_privkey_t; dig:Tgnutls_digest_algorithm_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_x509 : function(pcert:Pgnutls_pcert_st; crt:Tgnutls_x509_crt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_x509_list : function(pcert:Pgnutls_pcert_st; crt:Pgnutls_x509_crt_t; ncrt:Pdword; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_export_x509 : function(pcert:Pgnutls_pcert_st; crt:Pgnutls_x509_crt_t):longint;cdecl;
|
|
|
+ gnutls_pcert_list_import_x509_raw : function(pcerts:Pgnutls_pcert_st; pcert_max:Pdword; data:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_list_import_x509_file : function(pcert_list:Pgnutls_pcert_st; pcert_list_size:Pdword; afile:Pchar; format:Tgnutls_x509_crt_fmt_t; pin_fn:Tgnutls_pin_callback_t;
|
|
|
+ pin_fn_userdata:pointer; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_x509_raw : function(pcert:Pgnutls_pcert_st; cert:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_openpgp_raw : function(pcert:Pgnutls_pcert_st; cert:Pgnutls_datum_t; format:Tgnutls_openpgp_crt_fmt_t; keyid:Tgnutls_openpgp_keyid_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_openpgp : function(pcert:Pgnutls_pcert_st; crt:Tgnutls_openpgp_crt_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_export_openpgp : function(pcert:Pgnutls_pcert_st; crt:Pgnutls_openpgp_crt_t):longint;cdecl;
|
|
|
+ gnutls_pcert_deinit : procedure(pcert:Pgnutls_pcert_st);cdecl;
|
|
|
+ gnutls_pcert_import_rawpk : function(pcert:Pgnutls_pcert_st; key:Tgnutls_pubkey_t; flags:dword):longint;cdecl;
|
|
|
+ gnutls_pcert_import_rawpk_raw : function(pcert:Pgnutls_pcert_st; rawpubkey:Pgnutls_datum_t; format:Tgnutls_x509_crt_fmt_t; key_usage:dword; flags:dword):longint;cdecl;
|
|
|
+ gnutls_certificate_set_retrieve_function2 : procedure(cred:Tgnutls_certificate_credentials_t; func:Pgnutls_certificate_retrieve_function2);cdecl;
|
|
|
+ gnutls_certificate_set_retrieve_function3 : procedure(cred:Tgnutls_certificate_credentials_t; func:Pgnutls_certificate_retrieve_function3);cdecl;
|
|
|
+ gnutls_certificate_set_key : function(res:Tgnutls_certificate_credentials_t; names:PPchar; names_size:longint; pcert_list:Pgnutls_pcert_st; pcert_list_size:longint; key:Tgnutls_privkey_t):longint;cdecl;
|
|
|
+ gnutls_pubkey_print : function(pubkey:Tgnutls_pubkey_t; format:Tgnutls_certificate_print_formats_t; aout:Pgnutls_datum_t):longint;cdecl;
|
|
|
|
|
|
function GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION : Ttime_t;
|
|
|
function gnutls_x509_crl_get_certificate_count(crl:Tgnutls_x509_crl_t) : cint;
|
|
@@ -2649,6 +2876,115 @@ begin
|
|
|
gnutls_pkcs7_get_crt_raw2:=nil;
|
|
|
gnutls_pkcs7_get_crl_raw2:=nil;
|
|
|
gnutls_pkcs7_print:=nil;
|
|
|
+
|
|
|
+ gnutls_pubkey_init:=nil;
|
|
|
+ gnutls_pubkey_deinit:=nil;
|
|
|
+ gnutls_pubkey_verify_params:=nil;
|
|
|
+ gnutls_pubkey_set_pin_function:=nil;
|
|
|
+ gnutls_pubkey_get_pk_algorithm:=nil;
|
|
|
+ gnutls_pubkey_set_spki:=nil;
|
|
|
+ gnutls_pubkey_get_spki:=nil;
|
|
|
+ gnutls_pubkey_import_x509:=nil;
|
|
|
+ gnutls_pubkey_import_x509_crq:=nil;
|
|
|
+ gnutls_pubkey_import_pkcs11:=nil;
|
|
|
+ gnutls_pubkey_import_openpgp:=nil;
|
|
|
+ gnutls_pubkey_import_openpgp_raw:=nil;
|
|
|
+ gnutls_pubkey_import_x509_raw:=nil;
|
|
|
+ gnutls_pubkey_import_privkey:=nil;
|
|
|
+ gnutls_pubkey_import_tpm_url:=nil;
|
|
|
+ gnutls_pubkey_import_url:=nil;
|
|
|
+ gnutls_pubkey_import_tpm_raw:=nil;
|
|
|
+ gnutls_pubkey_get_preferred_hash_algorithm:=nil;
|
|
|
+ gnutls_pubkey_export_rsa_raw:=nil;
|
|
|
+ gnutls_pubkey_export_rsa_raw2:=nil;
|
|
|
+ gnutls_pubkey_export_dsa_raw:=nil;
|
|
|
+ gnutls_pubkey_export_dsa_raw2:=nil;
|
|
|
+ gnutls_pubkey_export_ecc_raw2:=nil;
|
|
|
+ gnutls_pubkey_export_gost_raw2:=nil;
|
|
|
+ gnutls_pubkey_export_ecc_raw:=nil;
|
|
|
+ gnutls_pubkey_export_ecc_x962:=nil;
|
|
|
+ gnutls_pubkey_export:=nil;
|
|
|
+ gnutls_pubkey_export2:=nil;
|
|
|
+ gnutls_pubkey_get_key_id:=nil;
|
|
|
+ gnutls_pubkey_get_openpgp_key_id:=nil;
|
|
|
+ gnutls_pubkey_get_key_usage:=nil;
|
|
|
+ gnutls_pubkey_set_key_usage:=nil;
|
|
|
+ gnutls_pubkey_import:=nil;
|
|
|
+ gnutls_pubkey_import_dsa_raw:=nil;
|
|
|
+ gnutls_pubkey_import_rsa_raw:=nil;
|
|
|
+ gnutls_pubkey_import_ecc_x962:=nil;
|
|
|
+ gnutls_pubkey_import_ecc_raw:=nil;
|
|
|
+ gnutls_pubkey_import_gost_raw:=nil;
|
|
|
+ gnutls_pubkey_encrypt_data:=nil;
|
|
|
+ gnutls_x509_crt_set_pubkey:=nil;
|
|
|
+ gnutls_x509_crq_set_pubkey:=nil;
|
|
|
+ gnutls_pubkey_verify_hash2:=nil;
|
|
|
+ gnutls_pubkey_verify_data2:=nil;
|
|
|
+ gnutls_privkey_init:=nil;
|
|
|
+ gnutls_privkey_deinit:=nil;
|
|
|
+ gnutls_privkey_generate:=nil;
|
|
|
+ gnutls_privkey_generate2:=nil;
|
|
|
+ gnutls_privkey_set_spki:=nil;
|
|
|
+ gnutls_privkey_get_spki:=nil;
|
|
|
+ gnutls_privkey_verify_seed:=nil;
|
|
|
+ gnutls_privkey_get_seed:=nil;
|
|
|
+ gnutls_privkey_verify_params:=nil;
|
|
|
+ gnutls_privkey_set_flags:=nil;
|
|
|
+ gnutls_privkey_set_pin_function:=nil;
|
|
|
+ gnutls_privkey_get_pk_algorithm:=nil;
|
|
|
+ gnutls_privkey_get_type:=nil;
|
|
|
+ gnutls_privkey_status:=nil;
|
|
|
+ gnutls_privkey_import_pkcs11:=nil;
|
|
|
+ gnutls_privkey_import_x509:=nil;
|
|
|
+ gnutls_privkey_import_openpgp:=nil;
|
|
|
+ gnutls_privkey_export_x509:=nil;
|
|
|
+ gnutls_privkey_export_openpgp:=nil;
|
|
|
+ gnutls_privkey_export_pkcs11:=nil;
|
|
|
+ gnutls_privkey_import_openpgp_raw:=nil;
|
|
|
+ gnutls_privkey_import_x509_raw:=nil;
|
|
|
+ gnutls_privkey_import_tpm_raw:=nil;
|
|
|
+ gnutls_privkey_import_tpm_url:=nil;
|
|
|
+ gnutls_privkey_import_url:=nil;
|
|
|
+ gnutls_privkey_import_ext:=nil;
|
|
|
+ gnutls_privkey_import_ext2:=nil;
|
|
|
+ gnutls_privkey_import_ext3:=nil;
|
|
|
+ gnutls_privkey_import_ext4:=nil;
|
|
|
+ gnutls_privkey_import_dsa_raw:=nil;
|
|
|
+ gnutls_privkey_import_rsa_raw:=nil;
|
|
|
+ gnutls_privkey_import_ecc_raw:=nil;
|
|
|
+ gnutls_privkey_import_gost_raw:=nil;
|
|
|
+ gnutls_privkey_sign_data:=nil;
|
|
|
+ gnutls_privkey_sign_data2:=nil;
|
|
|
+ gnutls_privkey_sign_hash:=nil;
|
|
|
+ gnutls_privkey_sign_hash2:=nil;
|
|
|
+ gnutls_privkey_decrypt_data:=nil;
|
|
|
+ gnutls_privkey_decrypt_data2:=nil;
|
|
|
+ gnutls_privkey_export_rsa_raw:=nil;
|
|
|
+ gnutls_privkey_export_rsa_raw2:=nil;
|
|
|
+ gnutls_privkey_export_dsa_raw:=nil;
|
|
|
+ gnutls_privkey_export_dsa_raw2:=nil;
|
|
|
+ gnutls_privkey_export_ecc_raw:=nil;
|
|
|
+ gnutls_privkey_export_ecc_raw2:=nil;
|
|
|
+ gnutls_privkey_export_gost_raw2:=nil;
|
|
|
+ gnutls_x509_crt_privkey_sign:=nil;
|
|
|
+ gnutls_x509_crl_privkey_sign:=nil;
|
|
|
+ gnutls_x509_crq_privkey_sign:=nil;
|
|
|
+ gnutls_pcert_import_x509:=nil;
|
|
|
+ gnutls_pcert_import_x509_list:=nil;
|
|
|
+ gnutls_pcert_export_x509:=nil;
|
|
|
+ gnutls_pcert_list_import_x509_raw:=nil;
|
|
|
+ gnutls_pcert_list_import_x509_file:=nil;
|
|
|
+ gnutls_pcert_import_x509_raw:=nil;
|
|
|
+ gnutls_pcert_import_openpgp_raw:=nil;
|
|
|
+ gnutls_pcert_import_openpgp:=nil;
|
|
|
+ gnutls_pcert_export_openpgp:=nil;
|
|
|
+ gnutls_pcert_deinit:=nil;
|
|
|
+ gnutls_pcert_import_rawpk:=nil;
|
|
|
+ gnutls_pcert_import_rawpk_raw:=nil;
|
|
|
+ gnutls_certificate_set_retrieve_function2:=nil;
|
|
|
+ gnutls_certificate_set_retrieve_function3:=nil;
|
|
|
+ gnutls_certificate_set_key:=nil;
|
|
|
+ gnutls_pubkey_print:=nil;
|
|
|
end;
|
|
|
|
|
|
|
|
@@ -3317,6 +3653,116 @@ begin
|
|
|
pointer(gnutls_pkcs7_get_crt_raw2):=GPA('gnutls_pkcs7_get_crt_raw2');
|
|
|
pointer(gnutls_pkcs7_get_crl_raw2):=GPA('gnutls_pkcs7_get_crl_raw2');
|
|
|
pointer(gnutls_pkcs7_print):=GPA('gnutls_pkcs7_print');
|
|
|
+ pointer(gnutls_pubkey_init):=GetProcAddress(hlib,'gnutls_pubkey_init');
|
|
|
+
|
|
|
+ pointer(gnutls_pubkey_deinit):=GetProcAddress(hlib,'gnutls_pubkey_deinit');
|
|
|
+ pointer(gnutls_pubkey_verify_params):=GetProcAddress(hlib,'gnutls_pubkey_verify_params');
|
|
|
+ pointer(gnutls_pubkey_set_pin_function):=GetProcAddress(hlib,'gnutls_pubkey_set_pin_function');
|
|
|
+ pointer(gnutls_pubkey_get_pk_algorithm):=GetProcAddress(hlib,'gnutls_pubkey_get_pk_algorithm');
|
|
|
+ pointer(gnutls_pubkey_set_spki):=GetProcAddress(hlib,'gnutls_pubkey_set_spki');
|
|
|
+ pointer(gnutls_pubkey_get_spki):=GetProcAddress(hlib,'gnutls_pubkey_get_spki');
|
|
|
+ pointer(gnutls_pubkey_import_x509):=GetProcAddress(hlib,'gnutls_pubkey_import_x509');
|
|
|
+ pointer(gnutls_pubkey_import_x509_crq):=GetProcAddress(hlib,'gnutls_pubkey_import_x509_crq');
|
|
|
+ pointer(gnutls_pubkey_import_pkcs11):=GetProcAddress(hlib,'gnutls_pubkey_import_pkcs11');
|
|
|
+ pointer(gnutls_pubkey_import_openpgp):=GetProcAddress(hlib,'gnutls_pubkey_import_openpgp');
|
|
|
+ pointer(gnutls_pubkey_import_openpgp_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_openpgp_raw');
|
|
|
+ pointer(gnutls_pubkey_import_x509_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_x509_raw');
|
|
|
+ pointer(gnutls_pubkey_import_privkey):=GetProcAddress(hlib,'gnutls_pubkey_import_privkey');
|
|
|
+ pointer(gnutls_pubkey_import_tpm_url):=GetProcAddress(hlib,'gnutls_pubkey_import_tpm_url');
|
|
|
+ pointer(gnutls_pubkey_import_url):=GetProcAddress(hlib,'gnutls_pubkey_import_url');
|
|
|
+ pointer(gnutls_pubkey_import_tpm_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_tpm_raw');
|
|
|
+ pointer(gnutls_pubkey_get_preferred_hash_algorithm):=GetProcAddress(hlib,'gnutls_pubkey_get_preferred_hash_algorithm');
|
|
|
+ pointer(gnutls_pubkey_export_rsa_raw):=GetProcAddress(hlib,'gnutls_pubkey_export_rsa_raw');
|
|
|
+ pointer(gnutls_pubkey_export_rsa_raw2):=GetProcAddress(hlib,'gnutls_pubkey_export_rsa_raw2');
|
|
|
+ pointer(gnutls_pubkey_export_dsa_raw):=GetProcAddress(hlib,'gnutls_pubkey_export_dsa_raw');
|
|
|
+ pointer(gnutls_pubkey_export_dsa_raw2):=GetProcAddress(hlib,'gnutls_pubkey_export_dsa_raw2');
|
|
|
+ pointer(gnutls_pubkey_export_ecc_raw2):=GetProcAddress(hlib,'gnutls_pubkey_export_ecc_raw2');
|
|
|
+ pointer(gnutls_pubkey_export_gost_raw2):=GetProcAddress(hlib,'gnutls_pubkey_export_gost_raw2');
|
|
|
+ pointer(gnutls_pubkey_export_ecc_raw):=GetProcAddress(hlib,'gnutls_pubkey_export_ecc_raw');
|
|
|
+ pointer(gnutls_pubkey_export_ecc_x962):=GetProcAddress(hlib,'gnutls_pubkey_export_ecc_x962');
|
|
|
+ pointer(gnutls_pubkey_export):=GetProcAddress(hlib,'gnutls_pubkey_export');
|
|
|
+ pointer(gnutls_pubkey_export2):=GetProcAddress(hlib,'gnutls_pubkey_export2');
|
|
|
+ pointer(gnutls_pubkey_get_key_id):=GetProcAddress(hlib,'gnutls_pubkey_get_key_id');
|
|
|
+ pointer(gnutls_pubkey_get_openpgp_key_id):=GetProcAddress(hlib,'gnutls_pubkey_get_openpgp_key_id');
|
|
|
+ pointer(gnutls_pubkey_get_key_usage):=GetProcAddress(hlib,'gnutls_pubkey_get_key_usage');
|
|
|
+ pointer(gnutls_pubkey_set_key_usage):=GetProcAddress(hlib,'gnutls_pubkey_set_key_usage');
|
|
|
+ pointer(gnutls_pubkey_import):=GetProcAddress(hlib,'gnutls_pubkey_import');
|
|
|
+ pointer(gnutls_pubkey_import_dsa_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_dsa_raw');
|
|
|
+ pointer(gnutls_pubkey_import_rsa_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_rsa_raw');
|
|
|
+ pointer(gnutls_pubkey_import_ecc_x962):=GetProcAddress(hlib,'gnutls_pubkey_import_ecc_x962');
|
|
|
+ pointer(gnutls_pubkey_import_ecc_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_ecc_raw');
|
|
|
+ pointer(gnutls_pubkey_import_gost_raw):=GetProcAddress(hlib,'gnutls_pubkey_import_gost_raw');
|
|
|
+ pointer(gnutls_pubkey_encrypt_data):=GetProcAddress(hlib,'gnutls_pubkey_encrypt_data');
|
|
|
+ pointer(gnutls_x509_crt_set_pubkey):=GetProcAddress(hlib,'gnutls_x509_crt_set_pubkey');
|
|
|
+ pointer(gnutls_x509_crq_set_pubkey):=GetProcAddress(hlib,'gnutls_x509_crq_set_pubkey');
|
|
|
+ pointer(gnutls_pubkey_verify_hash2):=GetProcAddress(hlib,'gnutls_pubkey_verify_hash2');
|
|
|
+ pointer(gnutls_pubkey_verify_data2):=GetProcAddress(hlib,'gnutls_pubkey_verify_data2');
|
|
|
+ pointer(gnutls_privkey_init):=GetProcAddress(hlib,'gnutls_privkey_init');
|
|
|
+ pointer(gnutls_privkey_deinit):=GetProcAddress(hlib,'gnutls_privkey_deinit');
|
|
|
+ pointer(gnutls_privkey_generate):=GetProcAddress(hlib,'gnutls_privkey_generate');
|
|
|
+ pointer(gnutls_privkey_generate2):=GetProcAddress(hlib,'gnutls_privkey_generate2');
|
|
|
+ pointer(gnutls_privkey_set_spki):=GetProcAddress(hlib,'gnutls_privkey_set_spki');
|
|
|
+ pointer(gnutls_privkey_get_spki):=GetProcAddress(hlib,'gnutls_privkey_get_spki');
|
|
|
+ pointer(gnutls_privkey_verify_seed):=GetProcAddress(hlib,'gnutls_privkey_verify_seed');
|
|
|
+ pointer(gnutls_privkey_get_seed):=GetProcAddress(hlib,'gnutls_privkey_get_seed');
|
|
|
+ pointer(gnutls_privkey_verify_params):=GetProcAddress(hlib,'gnutls_privkey_verify_params');
|
|
|
+ pointer(gnutls_privkey_set_flags):=GetProcAddress(hlib,'gnutls_privkey_set_flags');
|
|
|
+ pointer(gnutls_privkey_set_pin_function):=GetProcAddress(hlib,'gnutls_privkey_set_pin_function');
|
|
|
+ pointer(gnutls_privkey_get_pk_algorithm):=GetProcAddress(hlib,'gnutls_privkey_get_pk_algorithm');
|
|
|
+ pointer(gnutls_privkey_get_type):=GetProcAddress(hlib,'gnutls_privkey_get_type');
|
|
|
+ pointer(gnutls_privkey_status):=GetProcAddress(hlib,'gnutls_privkey_status');
|
|
|
+ pointer(gnutls_privkey_import_pkcs11):=GetProcAddress(hlib,'gnutls_privkey_import_pkcs11');
|
|
|
+ pointer(gnutls_privkey_import_x509):=GetProcAddress(hlib,'gnutls_privkey_import_x509');
|
|
|
+ pointer(gnutls_privkey_import_openpgp):=GetProcAddress(hlib,'gnutls_privkey_import_openpgp');
|
|
|
+ pointer(gnutls_privkey_export_x509):=GetProcAddress(hlib,'gnutls_privkey_export_x509');
|
|
|
+ pointer(gnutls_privkey_export_openpgp):=GetProcAddress(hlib,'gnutls_privkey_export_openpgp');
|
|
|
+ pointer(gnutls_privkey_export_pkcs11):=GetProcAddress(hlib,'gnutls_privkey_export_pkcs11');
|
|
|
+ pointer(gnutls_privkey_import_openpgp_raw):=GetProcAddress(hlib,'gnutls_privkey_import_openpgp_raw');
|
|
|
+ pointer(gnutls_privkey_import_x509_raw):=GetProcAddress(hlib,'gnutls_privkey_import_x509_raw');
|
|
|
+ pointer(gnutls_privkey_import_tpm_raw):=GetProcAddress(hlib,'gnutls_privkey_import_tpm_raw');
|
|
|
+ pointer(gnutls_privkey_import_tpm_url):=GetProcAddress(hlib,'gnutls_privkey_import_tpm_url');
|
|
|
+ pointer(gnutls_privkey_import_url):=GetProcAddress(hlib,'gnutls_privkey_import_url');
|
|
|
+ pointer(gnutls_privkey_import_ext):=GetProcAddress(hlib,'gnutls_privkey_import_ext');
|
|
|
+ pointer(gnutls_privkey_import_ext2):=GetProcAddress(hlib,'gnutls_privkey_import_ext2');
|
|
|
+ pointer(gnutls_privkey_import_ext3):=GetProcAddress(hlib,'gnutls_privkey_import_ext3');
|
|
|
+ pointer(gnutls_privkey_import_ext4):=GetProcAddress(hlib,'gnutls_privkey_import_ext4');
|
|
|
+ pointer(gnutls_privkey_import_dsa_raw):=GetProcAddress(hlib,'gnutls_privkey_import_dsa_raw');
|
|
|
+ pointer(gnutls_privkey_import_rsa_raw):=GetProcAddress(hlib,'gnutls_privkey_import_rsa_raw');
|
|
|
+ pointer(gnutls_privkey_import_ecc_raw):=GetProcAddress(hlib,'gnutls_privkey_import_ecc_raw');
|
|
|
+ pointer(gnutls_privkey_import_gost_raw):=GetProcAddress(hlib,'gnutls_privkey_import_gost_raw');
|
|
|
+ pointer(gnutls_privkey_sign_data):=GetProcAddress(hlib,'gnutls_privkey_sign_data');
|
|
|
+ pointer(gnutls_privkey_sign_data2):=GetProcAddress(hlib,'gnutls_privkey_sign_data2');
|
|
|
+ pointer(gnutls_privkey_sign_hash):=GetProcAddress(hlib,'gnutls_privkey_sign_hash');
|
|
|
+ pointer(gnutls_privkey_sign_hash2):=GetProcAddress(hlib,'gnutls_privkey_sign_hash2');
|
|
|
+ pointer(gnutls_privkey_decrypt_data):=GetProcAddress(hlib,'gnutls_privkey_decrypt_data');
|
|
|
+ pointer(gnutls_privkey_decrypt_data2):=GetProcAddress(hlib,'gnutls_privkey_decrypt_data2');
|
|
|
+ pointer(gnutls_privkey_export_rsa_raw):=GetProcAddress(hlib,'gnutls_privkey_export_rsa_raw');
|
|
|
+ pointer(gnutls_privkey_export_rsa_raw2):=GetProcAddress(hlib,'gnutls_privkey_export_rsa_raw2');
|
|
|
+ pointer(gnutls_privkey_export_dsa_raw):=GetProcAddress(hlib,'gnutls_privkey_export_dsa_raw');
|
|
|
+ pointer(gnutls_privkey_export_dsa_raw2):=GetProcAddress(hlib,'gnutls_privkey_export_dsa_raw2');
|
|
|
+ pointer(gnutls_privkey_export_ecc_raw):=GetProcAddress(hlib,'gnutls_privkey_export_ecc_raw');
|
|
|
+ pointer(gnutls_privkey_export_ecc_raw2):=GetProcAddress(hlib,'gnutls_privkey_export_ecc_raw2');
|
|
|
+ pointer(gnutls_privkey_export_gost_raw2):=GetProcAddress(hlib,'gnutls_privkey_export_gost_raw2');
|
|
|
+ pointer(gnutls_x509_crt_privkey_sign):=GetProcAddress(hlib,'gnutls_x509_crt_privkey_sign');
|
|
|
+ pointer(gnutls_x509_crl_privkey_sign):=GetProcAddress(hlib,'gnutls_x509_crl_privkey_sign');
|
|
|
+ pointer(gnutls_x509_crq_privkey_sign):=GetProcAddress(hlib,'gnutls_x509_crq_privkey_sign');
|
|
|
+ pointer(gnutls_pcert_import_x509):=GetProcAddress(hlib,'gnutls_pcert_import_x509');
|
|
|
+ pointer(gnutls_pcert_import_x509_list):=GetProcAddress(hlib,'gnutls_pcert_import_x509_list');
|
|
|
+ pointer(gnutls_pcert_export_x509):=GetProcAddress(hlib,'gnutls_pcert_export_x509');
|
|
|
+ pointer(gnutls_pcert_list_import_x509_raw):=GetProcAddress(hlib,'gnutls_pcert_list_import_x509_raw');
|
|
|
+ pointer(gnutls_pcert_list_import_x509_file):=GetProcAddress(hlib,'gnutls_pcert_list_import_x509_file');
|
|
|
+ pointer(gnutls_pcert_import_x509_raw):=GetProcAddress(hlib,'gnutls_pcert_import_x509_raw');
|
|
|
+ pointer(gnutls_pcert_import_openpgp_raw):=GetProcAddress(hlib,'gnutls_pcert_import_openpgp_raw');
|
|
|
+ pointer(gnutls_pcert_import_openpgp):=GetProcAddress(hlib,'gnutls_pcert_import_openpgp');
|
|
|
+ pointer(gnutls_pcert_export_openpgp):=GetProcAddress(hlib,'gnutls_pcert_export_openpgp');
|
|
|
+ pointer(gnutls_pcert_deinit):=GetProcAddress(hlib,'gnutls_pcert_deinit');
|
|
|
+ pointer(gnutls_pcert_import_rawpk):=GetProcAddress(hlib,'gnutls_pcert_import_rawpk');
|
|
|
+ pointer(gnutls_pcert_import_rawpk_raw):=GetProcAddress(hlib,'gnutls_pcert_import_rawpk_raw');
|
|
|
+ pointer(gnutls_certificate_set_retrieve_function2):=GetProcAddress(hlib,'gnutls_certificate_set_retrieve_function2');
|
|
|
+ pointer(gnutls_certificate_set_retrieve_function3):=GetProcAddress(hlib,'gnutls_certificate_set_retrieve_function3');
|
|
|
+ pointer(gnutls_certificate_set_key):=GetProcAddress(hlib,'gnutls_certificate_set_key');
|
|
|
+ pointer(gnutls_pubkey_print):=GetProcAddress(hlib,'gnutls_pubkey_print');
|
|
|
+
|
|
|
LoadedLibName:=aLib;
|
|
|
end;
|
|
|
|