function _mapOutDNs(&$root, $path, $asn1)
    {
        $dns = &$this->_subArray($root, $path);

        if (is_array($dns)) {
            $size = count($dns);
            for ($i = 0; $i < $size; $i++) {
                for ($j = 0; $j < count($dns[$i]); $j++) {
                    $type = $dns[$i][$j]['type'];
                    $value = &$dns[$i][$j]['value'];
                    if (is_object($value) && strtolower(get_class($value)) == 'file_asn1_element') {
                        continue;
                    }

                    $map = $this->_getMapping($type);
                    if (!is_bool($map)) {
                        $value = new File_ASN1_Element($asn1->encodeDER($value, $map));
                    }
                }
            }
        }
    }
function _mapOutDNs(&$root, $path, $asn1)
    {
        $dns = &$this->_subArray($root, $path);

        if (is_array($dns)) {
            $size = count($dns);
            for ($i = 0; $i < $size; $i++) {
                for ($j = 0; $j < count($dns[$i]); $j++) {
                    $type = $dns[$i][$j]['type'];
                    $value = &$dns[$i][$j]['value'];
                    if (is_object($value) && strtolower(get_class($value)) == 'file_asn1_element') {
                        continue;
                    }

                    $map = $this->_getMapping($type);
                    if (!is_bool($map)) {
                        $value = new File_ASN1_Element($asn1->encodeDER($value, $map));
                    }
                }
            }
        }
    }
function _mapOutDNs ( & $ root , $ path , $ asn1 ) { $ dns = & $ this -> _subArray ( $ root , $ path ) ; if ( is_array ( $ dns ) ) { $ size = count ( $ dns ) ; for ( $ i = 0 ; $ i < $ size ; $ i ++ ) { for ( $ j = 0 ; $ j < count ( $ dns [ $ i ] ) ; $ j ++ ) { $ type = $ dns [ $ i ] [ $ j ] [ 'type' ] ; $ value = & $ dns [ $ i ] [ $ j ] [ 'value' ] ; if ( is_object ( $ value ) && strtolower ( get_class ( $ value ) ) == 'file_asn1_element' ) { continue ; } $ map = $ this -> _getMapping ( $ type ) ; if ( ! is_bool ( $ map ) ) { $ value = new File_ASN1_Element ( $ asn1 -> encodeDER ( $ value , $ map ) ) ; } } } } }
Map DN values from DN-specific internal format to
ANY type.

@param array ref $root
@param string $path
@param object $asn1
@access private
Map DN values from DN - specific internal format to ANY type .