Lines Matching refs:pci
57 static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, in i2r_pci() argument
61 if (pci->pcPathLengthConstraint) in i2r_pci()
62 i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); in i2r_pci()
67 i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage); in i2r_pci()
69 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci()
71 pci->proxyPolicy->policy->data); in i2r_pci()
246 PROXY_CERT_INFO_EXTENSION *pci = NULL; in r2i_pci() local
309 pci = PROXY_CERT_INFO_EXTENSION_new(); in r2i_pci()
310 if (!pci) in r2i_pci()
316 pci->proxyPolicy->policyLanguage = language; language = NULL; in r2i_pci()
317 pci->proxyPolicy->policy = policy; policy = NULL; in r2i_pci()
318 pci->pcPathLengthConstraint = pathlen; pathlen = NULL; in r2i_pci()
324 if (pci) { PROXY_CERT_INFO_EXTENSION_free(pci); pci = NULL; } in r2i_pci()
327 return pci; in r2i_pci()