| abstract.h (3.0.19) | | abstract.h (3.0.20) | |
| | | | |
| skipping to change at line 141 | | skipping to change at line 141 | |
| | | | |
| int gnutls_x509_crt_set_pubkey (gnutls_x509_crt_t crt, gnutls_pubkey_t key)
; | | int gnutls_x509_crt_set_pubkey (gnutls_x509_crt_t crt, gnutls_pubkey_t key)
; | |
| | | | |
| int gnutls_x509_crq_set_pubkey (gnutls_x509_crq_t crq, gnutls_pubkey_t key)
; | | int gnutls_x509_crq_set_pubkey (gnutls_x509_crq_t crq, gnutls_pubkey_t key)
; | |
| | | | |
| #define GNUTLS_PUBKEY_VERIFY_FLAG_TLS_RSA 1 | | #define GNUTLS_PUBKEY_VERIFY_FLAG_TLS_RSA 1 | |
| int | | int | |
| gnutls_pubkey_verify_hash (gnutls_pubkey_t key, unsigned int flags, | | gnutls_pubkey_verify_hash (gnutls_pubkey_t key, unsigned int flags, | |
| const gnutls_datum_t * hash, | | const gnutls_datum_t * hash, | |
| const gnutls_datum_t * signature); | | const gnutls_datum_t * signature); | |
|
| | | | |
| | | int | |
| | | gnutls_pubkey_verify_hash2 (gnutls_pubkey_t key, | |
| | | gnutls_sign_algorithm_t algo, | |
| | | unsigned int flags, | |
| | | const gnutls_datum_t * hash, | |
| | | const gnutls_datum_t * signature); | |
| | | | |
| int | | int | |
| gnutls_pubkey_get_verify_algorithm (gnutls_pubkey_t key, | | gnutls_pubkey_get_verify_algorithm (gnutls_pubkey_t key, | |
| const gnutls_datum_t * signature, | | const gnutls_datum_t * signature, | |
| gnutls_digest_algorithm_t * hash); | | gnutls_digest_algorithm_t * hash); | |
| | | | |
| int gnutls_pubkey_verify_data (gnutls_pubkey_t pubkey, | | int gnutls_pubkey_verify_data (gnutls_pubkey_t pubkey, | |
| unsigned int flags, | | unsigned int flags, | |
| const gnutls_datum_t * data, | | const gnutls_datum_t * data, | |
| const gnutls_datum_t * signature); | | const gnutls_datum_t * signature); | |
| int | | int | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 8 lines changed or added | |
|
| gnutls.h (3.0.19) | | gnutls.h (3.0.20) | |
| | | | |
| skipping to change at line 54 | | skipping to change at line 54 | |
| #include <sys/types.h> | | #include <sys/types.h> | |
| /* *INDENT-ON* */ | | /* *INDENT-ON* */ | |
| #endif | | #endif | |
| /* Get time_t. */ | | /* Get time_t. */ | |
| #include <time.h> | | #include <time.h> | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" | | extern "C" | |
| { | | { | |
| #endif | | #endif | |
| | | | |
|
| #define GNUTLS_VERSION "3.0.19" | | #define GNUTLS_VERSION "3.0.20" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 0 | | #define GNUTLS_VERSION_MINOR 0 | |
|
| #define GNUTLS_VERSION_PATCH 19 | | #define GNUTLS_VERSION_PATCH 20 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x030013 | | #define GNUTLS_VERSION_NUMBER 0x030014 | |
| | | | |
| #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC | |
| #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC | |
| #define GNUTLS_CIPHER_RIJNDAEL_CBC GNUTLS_CIPHER_AES_128_CBC | | #define GNUTLS_CIPHER_RIJNDAEL_CBC GNUTLS_CIPHER_AES_128_CBC | |
| #define GNUTLS_CIPHER_ARCFOUR GNUTLS_CIPHER_ARCFOUR_128 | | #define GNUTLS_CIPHER_ARCFOUR GNUTLS_CIPHER_ARCFOUR_128 | |
| | | | |
| /** | | /** | |
| * gnutls_cipher_algorithm_t: | | * gnutls_cipher_algorithm_t: | |
| * @GNUTLS_CIPHER_UNKNOWN: Unknown algorithm. | | * @GNUTLS_CIPHER_UNKNOWN: Unknown algorithm. | |
| * @GNUTLS_CIPHER_NULL: NULL algorithm. | | * @GNUTLS_CIPHER_NULL: NULL algorithm. | |
| | | | |
| skipping to change at line 431 | | skipping to change at line 431 | |
| GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 = 1024, | | GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 = 1024, | |
| } gnutls_handshake_description_t; | | } gnutls_handshake_description_t; | |
| | | | |
| /** | | /** | |
| * gnutls_certificate_status_t: | | * gnutls_certificate_status_t: | |
| * @GNUTLS_CERT_INVALID: The certificate is not signed by one of the | | * @GNUTLS_CERT_INVALID: The certificate is not signed by one of the | |
| * known authorities or the signature is invalid. | | * known authorities or the signature is invalid. | |
| * @GNUTLS_CERT_REVOKED: Certificate is revoked by its authority. In X.509
this will be | | * @GNUTLS_CERT_REVOKED: Certificate is revoked by its authority. In X.509
this will be | |
| * set only if CRLs are checked. | | * set only if CRLs are checked. | |
| * @GNUTLS_CERT_SIGNER_NOT_FOUND: The certificate's issuer is not known. | | * @GNUTLS_CERT_SIGNER_NOT_FOUND: The certificate's issuer is not known. | |
|
| * This is the case if the issue is not included in the trusted certifica | | * This is the case if the issuer is not included in the trusted certific | |
| te list. | | ate list. | |
| * not found. | | | |
| * @GNUTLS_CERT_SIGNER_NOT_CA: The certificate’s signer was not a CA. This | | * @GNUTLS_CERT_SIGNER_NOT_CA: The certificate’s signer was not a CA. This | |
| * may happen if this was a version 1 certificate, which is common with | | * may happen if this was a version 1 certificate, which is common with | |
| * some CAs, or a version 3 certificate without the basic constrains exte
nsion. | | * some CAs, or a version 3 certificate without the basic constrains exte
nsion. | |
| * @GNUTLS_CERT_INSECURE_ALGORITHM: The certificate was signed using an in
secure | | * @GNUTLS_CERT_INSECURE_ALGORITHM: The certificate was signed using an in
secure | |
| * algorithm such as MD2 or MD5. These algorithms have been broken and | | * algorithm such as MD2 or MD5. These algorithms have been broken and | |
| * should not be trusted. | | * should not be trusted. | |
| * @GNUTLS_CERT_NOT_ACTIVATED: The certificate is not yet activated. | | * @GNUTLS_CERT_NOT_ACTIVATED: The certificate is not yet activated. | |
| * @GNUTLS_CERT_EXPIRED: The certificate has expired. | | * @GNUTLS_CERT_EXPIRED: The certificate has expired. | |
| * | | * | |
| * Enumeration of certificate status codes. Note that the status | | * Enumeration of certificate status codes. Note that the status | |
| | | | |
| skipping to change at line 792 | | skipping to change at line 791 | |
| /* the name of the specified algorithms */ | | /* the name of the specified algorithms */ | |
| const char *gnutls_cipher_get_name (gnutls_cipher_algorithm_t algorithm); | | const char *gnutls_cipher_get_name (gnutls_cipher_algorithm_t algorithm); | |
| const char *gnutls_mac_get_name (gnutls_mac_algorithm_t algorithm); | | const char *gnutls_mac_get_name (gnutls_mac_algorithm_t algorithm); | |
| const char *gnutls_compression_get_name (gnutls_compression_method_t | | const char *gnutls_compression_get_name (gnutls_compression_method_t | |
| algorithm); | | algorithm); | |
| const char *gnutls_kx_get_name (gnutls_kx_algorithm_t algorithm); | | const char *gnutls_kx_get_name (gnutls_kx_algorithm_t algorithm); | |
| const char *gnutls_certificate_type_get_name (gnutls_certificate_type_t | | const char *gnutls_certificate_type_get_name (gnutls_certificate_type_t | |
| type); | | type); | |
| const char *gnutls_pk_get_name (gnutls_pk_algorithm_t algorithm); | | const char *gnutls_pk_get_name (gnutls_pk_algorithm_t algorithm); | |
| const char *gnutls_sign_get_name (gnutls_sign_algorithm_t algorithm); | | const char *gnutls_sign_get_name (gnutls_sign_algorithm_t algorithm); | |
|
| | | gnutls_sign_algorithm_t gnutls_pk_to_sign (gnutls_pk_algorithm_t pk, | |
| | | gnutls_digest_algorithm_t d); | |
| | | | |
| #define gnutls_sign_algorithm_get_name gnutls_sign_get_name | | #define gnutls_sign_algorithm_get_name gnutls_sign_get_name | |
| | | | |
| gnutls_mac_algorithm_t gnutls_mac_get_id (const char *name); | | gnutls_mac_algorithm_t gnutls_mac_get_id (const char *name); | |
| gnutls_compression_method_t gnutls_compression_get_id (const char *name); | | gnutls_compression_method_t gnutls_compression_get_id (const char *name); | |
| gnutls_cipher_algorithm_t gnutls_cipher_get_id (const char *name); | | gnutls_cipher_algorithm_t gnutls_cipher_get_id (const char *name); | |
| gnutls_kx_algorithm_t gnutls_kx_get_id (const char *name); | | gnutls_kx_algorithm_t gnutls_kx_get_id (const char *name); | |
| gnutls_protocol_t gnutls_protocol_get_id (const char *name); | | gnutls_protocol_t gnutls_protocol_get_id (const char *name); | |
| gnutls_certificate_type_t gnutls_certificate_type_get_id (const char *nam
e); | | gnutls_certificate_type_t gnutls_certificate_type_get_id (const char *nam
e); | |
| gnutls_pk_algorithm_t gnutls_pk_get_id (const char *name); | | gnutls_pk_algorithm_t gnutls_pk_get_id (const char *name); | |
| gnutls_sign_algorithm_t gnutls_sign_get_id (const char *name); | | gnutls_sign_algorithm_t gnutls_sign_get_id (const char *name); | |
| | | | |
| skipping to change at line 1098 | | skipping to change at line 1100 | |
| | | | |
| void gnutls_certificate_set_dh_params (gnutls_certificate_credentials_t r
es, | | void gnutls_certificate_set_dh_params (gnutls_certificate_credentials_t r
es, | |
| gnutls_dh_params_t dh_params); | | gnutls_dh_params_t dh_params); | |
| void gnutls_certificate_set_verify_flags (gnutls_certificate_credentials_
t | | void gnutls_certificate_set_verify_flags (gnutls_certificate_credentials_
t | |
| res, unsigned int flags); | | res, unsigned int flags); | |
| void gnutls_certificate_set_verify_limits (gnutls_certificate_credentials
_t | | void gnutls_certificate_set_verify_limits (gnutls_certificate_credentials
_t | |
| res, unsigned int max_bits, | | res, unsigned int max_bits, | |
| unsigned int max_depth); | | unsigned int max_depth); | |
| | | | |
| int | | int | |
|
| | | gnutls_certificate_set_x509_system_trust (gnutls_certificate_credential | |
| | | s_t cred); | |
| | | | |
| | | int | |
| gnutls_certificate_set_x509_trust_file (gnutls_certificate_credentials_
t | | gnutls_certificate_set_x509_trust_file (gnutls_certificate_credentials_
t | |
| cred, const char *cafile, | | cred, const char *cafile, | |
| gnutls_x509_crt_fmt_t type); | | gnutls_x509_crt_fmt_t type); | |
| int gnutls_certificate_set_x509_trust_mem (gnutls_certificate_credentials
_t | | int gnutls_certificate_set_x509_trust_mem (gnutls_certificate_credentials
_t | |
| res, const gnutls_datum_t * ca
, | | res, const gnutls_datum_t * ca
, | |
| gnutls_x509_crt_fmt_t type); | | gnutls_x509_crt_fmt_t type); | |
| | | | |
| int | | int | |
| gnutls_certificate_set_x509_crl_file (gnutls_certificate_credentials_t | | gnutls_certificate_set_x509_crl_file (gnutls_certificate_credentials_t | |
| res, const char *crlfile, | | res, const char *crlfile, | |
| | | | |
End of changes. 6 change blocks. |
| 6 lines changed or deleted | | 12 lines changed or added | |
|