summaryrefslogtreecommitdiff
path: root/common/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/x509.h')
-rw-r--r--common/x509.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/x509.h b/common/x509.h
index cbfc574..af91c28 100644
--- a/common/x509.h
+++ b/common/x509.h
@@ -46,6 +46,11 @@ unsigned char * p11_x509_find_extension (node_asn *cert,
size_t der_len,
size_t *ext_len);
+bool p11_x509_calc_keyid (node_asn *cert,
+ const unsigned char *der,
+ size_t der_len,
+ unsigned char *keyid);
+
bool p11_x509_parse_basic_constraints (p11_dict *asn1_defs,
const unsigned char *ext_der,
size_t ext_len,