Lines Matching full:certificate
116 const Certificate* pKeys, unsigned int numKeys) {
253 if (pKeys[i].key_type == Certificate::RSA) {
269 } else if (pKeys[i].key_type == Certificate::EC
316 // A Certificate is a pair of an RSAPublicKey and a particular hash
327 Certificate*
329 Certificate* out = NULL;
343 out = (Certificate*)realloc(out, *numKeys * sizeof(Certificate));
344 Certificate* cert = out + (*numKeys - 1);
345 memset(cert, '\0', sizeof(Certificate));
351 cert->key_type = Certificate::RSA;
360 cert->key_type = Certificate::RSA;
366 cert->key_type = Certificate::RSA;
372 cert->key_type = Certificate::RSA;
378 cert->key_type = Certificate::EC;
387 if (cert->key_type == Certificate::RSA) {
407 } else if (cert->key_type == Certificate::EC) {