Lines Matching refs:attributes

1737         $attributes = &$this->_subArray($root, $path);
1739 if (is_array($attributes)) {
1740 for ($i = 0; $i < count($attributes); $i++) {
1741 $id = $attributes[$i]['type'];
1745 if (is_array($attributes[$i]['value'])) {
1746 $values = &$attributes[$i]['value'];
1778 $attributes = &$this->_subArray($root, $path);
1780 if (is_array($attributes)) {
1781 $size = count($attributes);
1785 $id = $attributes[$i]['type'];
1789 unset($attributes[$i]);
1790 } elseif (is_array($attributes[$i]['value'])) {
1791 $values = &$attributes[$i]['value'];
4272 $attributes = &$this->_subArray($root, $pth, $create);
4274 if (is_array($attributes)) {
4275 foreach ($attributes as $key => $value) {
4282 $key = count($attributes);
4283 … $attributes[] = array('type' => 'pkcs-9-at-extensionRequest', 'value' => array());
4482 $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes');
4484 if (!is_array($attributes)) {
4489 foreach ($attributes as $key => $attribute) {
4501 unset($attributes[$key]);
4505 unset($attributes[$key]['value'][$disposition]);
4506 $attributes[$key]['value'] = array_values($attributes[$key]['value']);
4516 $attributes = array_values($attributes);
4537 $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes');
4539 if (!is_array($attributes)) {
4543 foreach ($attributes as $key => $attribute) {
4577 $attributes = $this->_subArray($csr, 'certificationRequestInfo/attributes');
4580 if (is_array($attributes)) {
4581 foreach ($attributes as $attribute) {
4600 … $attributes = &$this->_subArray($this->currentCert, 'certificationRequestInfo/attributes', true);
4602 if (!is_array($attributes)) {
4614 foreach ($attributes as $key => $attribute) {
4625 $attributes[$key]['value'][$disposition] = $value;
4635 $attributes[$last]['value'][] = $value;
4638 …$attributes[] = array('type' => $id, 'value' => $disposition == self::ATTR_ALL ? $value: array($va…