1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Prepare transition from x509_cert.rsa to pk

This commit is contained in:
Manuel Pégourié-Gonnard
2013-07-10 14:32:58 +02:00
committed by Paul Bakker
parent a155513e7b
commit 674b2243eb
2 changed files with 15 additions and 17 deletions

View File

@ -211,7 +211,8 @@ typedef struct _x509_cert
x509_time valid_from; /**< Start time of certificate validity. */
x509_time valid_to; /**< End time of certificate validity. */
rsa_context rsa; /**< Container for the RSA context. Only RSA is supported for public keys at this time. */
pk_context pk; /**< Container for the public key context. */
rsa_context rsa; /**< Container for the RSA context. Kept for compatibility while transitioning to generic PK */
x509_buf issuer_id; /**< Optional X.509 v2/v3 issuer unique identifier. */
x509_buf subject_id; /**< Optional X.509 v2/v3 subject unique identifier. */