207
207
/* Extracts DSA and RSA parameters from a certificate.
210
get_mpis (int pk_algorithm, ASN1_TYPE asn, const char *root,
215
215
gnutls_datum_t tmp = { NULL, 0 };
217
227
/* Read the algorithm's parameters
219
snprintf (name, sizeof (name), "%s.subjectPublicKey", root);
229
_asnstr_append_name (name, sizeof (name), root, ".subjectPublicKey");
220
230
result = _gnutls_x509_read_value (asn, name, &tmp, 2);