Lines Matching refs:certificate
64 * Read X509 certificate from the given memory buffer into the internal
70 * certificate in PEM format.
73 * the info about X509 certificate will be stored.
90 * Convert X509 certificate from string to binary representation
95 * containing X509 certificate
99 * @param lengthOfSignature length of X509 certificate in
174 X509 *certificate = NULL;
196 rc = rtX509ReadCertificateFromPEM(pvBuf, cbSize, &certificate);
199 /*memory for certificate isn't allocated in this case, thus there is no need to free it*/
203 evp_key = X509_get_pubkey(certificate);
236 if(certificate)
237 X509_free(certificate);
248 * Get X509 certificate basic constraints
253 * containing X509 certificate
265 X509 *certificate = NULL;
271 rc = rtX509ReadCertificateFromPEM(pvBuf, cbSize, &certificate);
272 int loc = X509_get_ext_by_NID(certificate, NID_basic_constraints,-1);
280 X509_EXTENSION *ext = X509_get_ext(certificate, loc);
314 if(certificate)
315 X509_free(certificate);
326 X509 *certificate = NULL;
334 rc = rtX509ReadCertificateFromPEM(pvBuf, cbSize, &certificate);
346 issuer = X509_get_issuer_name(certificate);
350 subject = X509_get_subject_name(certificate);
355 evp_key = X509_get_pubkey(certificate);
356 ki=X509_verify(certificate,evp_key);
359 /* if it's needed will do something with the verified certificate */
377 if(certificate)
378 X509_free(certificate);