summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int-pkinit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/k5-int-pkinit.h')
-rw-r--r--src/include/k5-int-pkinit.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/k5-int-pkinit.h b/src/include/k5-int-pkinit.h
index 0c5ab0e0e7..47e16e1c34 100644
--- a/src/include/k5-int-pkinit.h
+++ b/src/include/k5-int-pkinit.h
@@ -173,6 +173,22 @@ typedef struct _krb5_pa_pk_as_rep {
} u;
} krb5_pa_pk_as_rep;
+/* SP80056A OtherInfo, for pkinit algorithm agility */
+typedef struct _krb5_sp80056a_other_info {
+ krb5_algorithm_identifier algorithm_identifier;
+ krb5_principal party_u_info;
+ krb5_principal party_v_info;
+ krb5_data supp_pub_info;
+} krb5_sp80056a_other_info;
+
+/* PkinitSuppPubInfo, for pkinit algorithm agility */
+typedef struct _krb5_pkinit_supp_pub_info {
+ krb5_enctype enctype;
+ krb5_octet_data as_req;
+ krb5_octet_data pk_as_rep;
+ krb5_ticket *ticket;
+} krb5_pkinit_supp_pub_info;
+
/*
* Begin "asn1.h"
*/
@@ -223,6 +239,12 @@ krb5_error_code
encode_krb5_td_dh_parameters(const krb5_algorithm_identifier **,
krb5_data **code);
+krb5_error_code
+encode_krb5_sp80056a_other_info(const krb5_sp80056a_other_info *, krb5_data **);
+
+krb5_error_code
+encode_krb5_pkinit_supp_pub_info(const krb5_pkinit_supp_pub_info *, krb5_data **);
+
/*************************************************************************
* Prototypes for pkinit asn.1 decode routines
*************************************************************************/