From e5858c1938147a052c72357aacfa01b0b6d67d0f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 12 May 2012 00:58:42 +0100 Subject: [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 --- src/include/ipxe/x509.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') 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 */ -- cgit v1.2.3-55-g7522