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

        if (is_array($dns)) {
            for ($i = 0; $i < count($dns); $i++) {
                for ($j = 0; $j < count($dns[$i]); $j++) {
                    $type = $dns[$i][$j]['type'];
                    $value = &$dns[$i][$j]['value'];
                    if (is_object($value) && $value instanceof Element) {
                        $map = $this->_getMapping($type);
                        if (!is_bool($map)) {
                            $decoded = $asn1->decodeBER($value);
                            $value = $asn1->asn1map($decoded[0], $map);
                        }
                    }
                }
            }
        }
    }
function _mapInDNs(&$root, $path, $asn1)
    {
        $dns = &$this->_subArray($root, $path);

        if (is_array($dns)) {
            for ($i = 0; $i < count($dns); $i++) {
                for ($j = 0; $j < count($dns[$i]); $j++) {
                    $type = $dns[$i][$j]['type'];
                    $value = &$dns[$i][$j]['value'];
                    if (is_object($value) && $value instanceof Element) {
                        $map = $this->_getMapping($type);
                        if (!is_bool($map)) {
                            $decoded = $asn1->decodeBER($value);
                            $value = $asn1->asn1map($decoded[0], $map);
                        }
                    }
                }
            }
        }
    }
function _mapInDNs ( & $ root , $ path , $ asn1 ) { $ dns = & $ this -> _subArray ( $ root , $ path ) ; if ( is_array ( $ dns ) ) { for ( $ i = 0 ; $ i < count ( $ dns ) ; $ i ++ ) { for ( $ j = 0 ; $ j < count ( $ dns [ $ i ] ) ; $ j ++ ) { $ type = $ dns [ $ i ] [ $ j ] [ 'type' ] ; $ value = & $ dns [ $ i ] [ $ j ] [ 'value' ] ; if ( is_object ( $ value ) && $ value instanceof Element ) { $ map = $ this -> _getMapping ( $ type ) ; if ( ! is_bool ( $ map ) ) { $ decoded = $ asn1 -> decodeBER ( $ value ) ; $ value = $ asn1 -> asn1map ( $ decoded [ 0 ] , $ map ) ; } } } } } }
Map DN values from ANY type to DN-specific internal
format.

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