summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/gnutls.h.in
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-01-11 15:09:23 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-01-12 15:42:23 +0100
commit332475e9cf8cf7afe117e93555dfe24df898bc4b (patch)
treedf45239e64d003cfa3992c2efbbec7071a868b17 /lib/includes/gnutls/gnutls.h.in
parent0a92ec601c3d33d6b939e2cd2e22302584fe8eea (diff)
downloadgnutls-332475e9cf8cf7afe117e93555dfe24df898bc4b.tar.gz
x509: introduced GNUTLS_SAN_OTHERNAME_KRB5PRINCIPAL
That allows to print and write KRB5PrincipalName othernames in subject alternative name.
Diffstat (limited to 'lib/includes/gnutls/gnutls.h.in')
-rw-r--r--lib/includes/gnutls/gnutls.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in
index 759a0d6a4f..e9e613918d 100644
--- a/lib/includes/gnutls/gnutls.h.in
+++ b/lib/includes/gnutls/gnutls.h.in
@@ -2030,8 +2030,8 @@ gnutls_psk_set_server_params_function(gnutls_psk_server_credentials_t
* @GNUTLS_SAN_IPADDRESS: IP address SAN.
* @GNUTLS_SAN_OTHERNAME: OtherName SAN.
* @GNUTLS_SAN_DN: DN SAN.
- * @GNUTLS_SAN_OTHERNAME_XMPP: Virtual SAN, used by
- * gnutls_x509_crt_get_subject_alt_othername_oid.
+ * @GNUTLS_SAN_OTHERNAME_XMPP: Virtual SAN, used by certain functions for convenience.
+ * @GNUTLS_SAN_OTHERNAME_KRB5PRINCIPAL: Virtual SAN, used by certain functions for convenience.
*
* Enumeration of different subject alternative names types.
*/
@@ -2045,7 +2045,8 @@ typedef enum gnutls_x509_subject_alt_name_t {
/* The following are "virtual" subject alternative name types, in
that they are represented by an otherName value and an OID.
Used by gnutls_x509_crt_get_subject_alt_othername_oid. */
- GNUTLS_SAN_OTHERNAME_XMPP = 1000
+ GNUTLS_SAN_OTHERNAME_XMPP = 1000,
+ GNUTLS_SAN_OTHERNAME_KRB5PRINCIPAL
} gnutls_x509_subject_alt_name_t;
struct gnutls_openpgp_crt_int;