| gnutls.h (3.0.15) | | gnutls.h (3.0.17) | |
| | | | |
| 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.15" | | #define GNUTLS_VERSION "3.0.17" | |
| | | | |
| #define GNUTLS_VERSION_MAJOR 3 | | #define GNUTLS_VERSION_MAJOR 3 | |
| #define GNUTLS_VERSION_MINOR 0 | | #define GNUTLS_VERSION_MINOR 0 | |
|
| #define GNUTLS_VERSION_PATCH 15 | | #define GNUTLS_VERSION_PATCH 17 | |
| | | | |
|
| #define GNUTLS_VERSION_NUMBER 0x03000f | | #define GNUTLS_VERSION_NUMBER 0x030011 | |
| | | | |
| #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 433 | | skipping to change at line 433 | |
| | | | |
| /** | | /** | |
| * 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
te list. | | * This is the case if the issue is not included in the trusted certifica
te list. | |
| * not found. | | * 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 exten | | * some CAs, or a version 3 certificate without the basic constrains exte | |
| sion. | | nsion. | |
| * @GNUTLS_CERT_INSECURE_ALGORITHM: The certificate was signed using an in- | | * @GNUTLS_CERT_INSECURE_ALGORITHM: The certificate was signed using an in | |
| * secure algorithm such as MD2 or MD5. These algorithms have been broken | | secure | |
| 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 | |
| * bits have different meanings in OpenPGP keys and X.509 | | * bits have different meanings in OpenPGP keys and X.509 | |
| * certificate verification. | | * certificate verification. | |
| */ | | */ | |
| typedef enum | | typedef enum | |
| { | | { | |
| | | | |
End of changes. 4 change blocks. |
| 10 lines changed or deleted | | 10 lines changed or added | |
|
| x509.h (3.0.15) | | x509.h (3.0.17) | |
| | | | |
| skipping to change at line 75 | | skipping to change at line 75 | |
| #define GNUTLS_OID_PKIX_PLACE_OF_BIRTH "1.3.6.1.5.5.7.9.2" | | #define GNUTLS_OID_PKIX_PLACE_OF_BIRTH "1.3.6.1.5.5.7.9.2" | |
| #define GNUTLS_OID_PKIX_GENDER "1.3.6.1.5.5.7.9.3" | | #define GNUTLS_OID_PKIX_GENDER "1.3.6.1.5.5.7.9.3" | |
| #define GNUTLS_OID_PKIX_COUNTRY_OF_CITIZENSHIP "1.3.6.1.5.5.7.9.4" | | #define GNUTLS_OID_PKIX_COUNTRY_OF_CITIZENSHIP "1.3.6.1.5.5.7.9.4" | |
| #define GNUTLS_OID_PKIX_COUNTRY_OF_RESIDENCE "1.3.6.1.5.5.7.9.5" | | #define GNUTLS_OID_PKIX_COUNTRY_OF_RESIDENCE "1.3.6.1.5.5.7.9.5" | |
| | | | |
| /* Key purpose Object Identifiers. | | /* Key purpose Object Identifiers. | |
| */ | | */ | |
| #define GNUTLS_KP_TLS_WWW_SERVER "1.3.6.1.5.5.7.3.1" | | #define GNUTLS_KP_TLS_WWW_SERVER "1.3.6.1.5.5.7.3.1" | |
| #define GNUTLS_KP_TLS_WWW_CLIENT "1.3.6.1.5.5.7.3.2" | | #define GNUTLS_KP_TLS_WWW_CLIENT "1.3.6.1.5.5.7.3.2" | |
| #define GNUTLS_KP_CODE_SIGNING "1.3.6.1.5.5.7.3.3" | | #define GNUTLS_KP_CODE_SIGNING "1.3.6.1.5.5.7.3.3" | |
|
| | | #define GNUTLS_KP_MS_SMART_CARD_LOGON "1.3.6.1.4.1.311.20.2.2" | |
| #define GNUTLS_KP_EMAIL_PROTECTION "1.3.6.1.5.5.7.3.4" | | #define GNUTLS_KP_EMAIL_PROTECTION "1.3.6.1.5.5.7.3.4" | |
| #define GNUTLS_KP_TIME_STAMPING "1.3.6.1.5.5.7.3.8" | | #define GNUTLS_KP_TIME_STAMPING "1.3.6.1.5.5.7.3.8" | |
| #define GNUTLS_KP_OCSP_SIGNING "1.3.6.1.5.5.7.3.9" | | #define GNUTLS_KP_OCSP_SIGNING "1.3.6.1.5.5.7.3.9" | |
| #define GNUTLS_KP_IPSEC_IKE "1.3.6.1.5.5.7.3.17" | | #define GNUTLS_KP_IPSEC_IKE "1.3.6.1.5.5.7.3.17" | |
| #define GNUTLS_KP_ANY "2.5.29.37.0" | | #define GNUTLS_KP_ANY "2.5.29.37.0" | |
| | | | |
| #define GNUTLS_OID_AIA "1.3.6.1.5.5.7.1.1" | | #define GNUTLS_OID_AIA "1.3.6.1.5.5.7.1.1" | |
| #define GNUTLS_OID_AD_OCSP "1.3.6.1.5.5.7.48.1" | | #define GNUTLS_OID_AD_OCSP "1.3.6.1.5.5.7.48.1" | |
| #define GNUTLS_OID_AD_CAISSUERS "1.3.6.1.5.5.7.48.2" | | #define GNUTLS_OID_AD_CAISSUERS "1.3.6.1.5.5.7.48.2" | |
| | | | |
| | | | |
| skipping to change at line 297 | | skipping to change at line 298 | |
| unsigned int *ca, int *pathlen
); | | unsigned int *ca, int *pathlen
); | |
| | | | |
| /* The key_usage flags are defined in gnutls.h. They are the | | /* The key_usage flags are defined in gnutls.h. They are the | |
| * GNUTLS_KEY_* definitions. | | * GNUTLS_KEY_* definitions. | |
| */ | | */ | |
| int gnutls_x509_crt_get_key_usage (gnutls_x509_crt_t cert, | | int gnutls_x509_crt_get_key_usage (gnutls_x509_crt_t cert, | |
| unsigned int *key_usage, | | unsigned int *key_usage, | |
| unsigned int *critical); | | unsigned int *critical); | |
| int gnutls_x509_crt_set_key_usage (gnutls_x509_crt_t crt, | | int gnutls_x509_crt_set_key_usage (gnutls_x509_crt_t crt, | |
| unsigned int usage); | | unsigned int usage); | |
|
| | | int gnutls_x509_crt_set_authority_info_access (gnutls_x509_crt_t crt, | |
| | | int what, | |
| | | gnutls_datum_t * data); | |
| | | | |
| int gnutls_x509_crt_get_proxy (gnutls_x509_crt_t cert, | | int gnutls_x509_crt_get_proxy (gnutls_x509_crt_t cert, | |
| unsigned int *critical, | | unsigned int *critical, | |
| int *pathlen, | | int *pathlen, | |
| char **policyLanguage, | | char **policyLanguage, | |
| char **policy, size_t * sizeof_policy); | | char **policy, size_t * sizeof_policy); | |
| | | | |
| int gnutls_x509_dn_oid_known (const char *oid); | | int gnutls_x509_dn_oid_known (const char *oid); | |
| | | | |
| #define GNUTLS_X509_DN_OID_RETURN_OID 1 | | #define GNUTLS_X509_DN_OID_RETURN_OID 1 | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|