summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int-pkinit.h
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2011-09-19 00:34:52 +0000
committerSam Hartman <hartmans@mit.edu>2011-09-19 00:34:52 +0000
commit3e0d13c8278d2885760e405f537a882b896ff156 (patch)
tree5a9c7c6233959238fd36691a415c5a59f8cef5f0 /src/include/k5-int-pkinit.h
parent61c280a73539acbe68bb203ea8f09cf52cf4b784 (diff)
downloadkrb5-3e0d13c8278d2885760e405f537a882b896ff156.tar.gz
krb5-3e0d13c8278d2885760e405f537a882b896ff156.tar.xz
krb5-3e0d13c8278d2885760e405f537a882b896ff156.zip
Added underlying ASN.1 structures for pkinit algorithm agility
Signed-off-by: Margaret Wasserman <mrw@painless-security.com> tested-by: Sam Hartman <hartmans@debian.org> fixes-from: Sam Hartman <hartmans@debian.org> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25190 dc483132-0cff-0310-8789-dd5450dbe970
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
*************************************************************************/