Basic parsing of certs signed with RSASSA-PSS

This commit is contained in:
Manuel Pégourié-Gonnard 2014-01-22 10:12:57 +01:00
parent d75ba40cc3
commit b1d4eb16e4
11 changed files with 90 additions and 3 deletions

View file

@ -89,6 +89,9 @@ typedef struct _x509_crt
x509_buf sig; /**< Signature: hash of the tbs part signed with the private key. */
md_type_t sig_md; /**< Internal representation of the MD algorithm of the signature algorithm, e.g. POLARSSL_MD_SHA256 */
pk_type_t sig_pk /**< Internal representation of the Public Key algorithm of the signature algorithm, e.g. POLARSSL_PK_RSA */;
#if defined(POLARSSL_RSASSA_PSS_CERTIFICATES)
x509_buf sig_params; /**< Parameters for the signature algorithm */
#endif
struct _x509_crt *next; /**< Next certificate in the CA-chain. */
}