Lines Matching refs:pknid
165 int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, in X509_SIG_INFO_get() argument
170 if (pknid != NULL) in X509_SIG_INFO_get()
171 *pknid = siginf->pknid; in X509_SIG_INFO_get()
179 void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, in X509_SIG_INFO_set() argument
183 siginf->pknid = pknid; in X509_SIG_INFO_set()
188 int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits, in X509_get_signature_info() argument
192 return X509_SIG_INFO_get(&x->siginf, mdnid, pknid, secbits, flags); in X509_get_signature_info()
198 int pknid, mdnid; in x509_sig_info_init() local
202 siginf->pknid = NID_undef; in x509_sig_info_init()
205 if (!OBJ_find_sigid_algs(OBJ_obj2nid(alg->algorithm), &mdnid, &pknid) in x509_sig_info_init()
206 || pknid == NID_undef) in x509_sig_info_init()
208 siginf->pknid = pknid; in x509_sig_info_init()
211 const EVP_PKEY_ASN1_METHOD *ameth = EVP_PKEY_asn1_find(NULL, pknid); in x509_sig_info_init()