Lines Matching refs:pci
65 static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci, in i2r_pci() argument
69 if (pci->pcPathLengthConstraint) in i2r_pci()
70 i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint); in i2r_pci()
75 i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage); in i2r_pci()
77 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci()
79 pci->proxyPolicy->policy->data); in i2r_pci()
200 PROXY_CERT_INFO_EXTENSION *pci = NULL; in r2i_pci() local
255 pci = PROXY_CERT_INFO_EXTENSION_new(); in r2i_pci()
256 if (!pci) { in r2i_pci()
261 pci->proxyPolicy->policyLanguage = language; in r2i_pci()
263 pci->proxyPolicy->policy = policy; in r2i_pci()
265 pci->pcPathLengthConstraint = pathlen; in r2i_pci()
281 if (pci) { in r2i_pci()
282 PROXY_CERT_INFO_EXTENSION_free(pci); in r2i_pci()
283 pci = NULL; in r2i_pci()
287 return pci; in r2i_pci()