summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2012-05-12 01:58:42 +0200
committerMichael Brown2012-05-14 01:14:27 +0200
commite5858c1938147a052c72357aacfa01b0b6d67d0f (patch)
tree4dfc950965992e1a00bdd51ece130c46b25cb0f5 /src/include
parent[crypto] Include "?subject=" in cross-signed certificate URI (diff)
downloadipxe-e5858c1938147a052c72357aacfa01b0b6d67d0f.tar.gz
ipxe-e5858c1938147a052c72357aacfa01b0b6d67d0f.tar.xz
ipxe-e5858c1938147a052c72357aacfa01b0b6d67d0f.zip
[crypto] Parse X.509 raw public key bit string
OCSP requires direct access to the bit string portion of the subject public key information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/x509.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ipxe/x509.h b/src/include/ipxe/x509.h
index 8753bb050..a55511b81 100644
--- a/src/include/ipxe/x509.h
+++ b/src/include/ipxe/x509.h
@@ -54,10 +54,12 @@ struct x509_validity {
/** An X.509 certificate public key */
struct x509_public_key {
- /** Raw public key */
+ /** Raw public key information */
struct asn1_cursor raw;
/** Public key algorithm */
struct asn1_algorithm *algorithm;
+ /** Raw public key bit string */
+ struct x509_bit_string raw_bits;
};
/** An X.509 certificate subject */