[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>
This commit is contained in:
Michael Brown
2012-05-12 00:58:42 +01:00
parent 4855e86d95
commit e5858c1938
2 changed files with 11 additions and 3 deletions

View File

@@ -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 */