Lines Matching refs:pci
67 static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci,
71 if (pci->pcPathLengthConstraint)
72 i2a_ASN1_INTEGER(out, pci->pcPathLengthConstraint);
77 i2a_ASN1_OBJECT(out, pci->proxyPolicy->policyLanguage);
78 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data)
80 pci->proxyPolicy->policy->length,
81 pci->proxyPolicy->policy->data);
242 PROXY_CERT_INFO_EXTENSION *pci = NULL;
297 pci = PROXY_CERT_INFO_EXTENSION_new();
298 if (pci == NULL) {
303 pci->proxyPolicy->policyLanguage = language;
305 pci->proxyPolicy->policy = policy;
307 pci->pcPathLengthConstraint = pathlen;
316 PROXY_CERT_INFO_EXTENSION_free(pci);
317 pci = NULL;
320 return pci;