Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Remove a node #74

Open
ondery opened this issue Nov 18, 2018 · 0 comments
Open

Remove a node #74

ondery opened this issue Nov 18, 2018 · 0 comments

Comments

@ondery
Copy link

ondery commented Nov 18, 2018

I can't remove(detach) last [1] (which is "[1] => FG\ASN1\ExplicitlyTaggedObject Object" ) how can I do this ? This file is too large, I can't make a new one...

FG\ASN1\Universal\Sequence Object
(
    [children:protected] => Array
        (
            [0] => FG\ASN1\Universal\ObjectIdentifier Object
                (
                    [subIdentifiers:protected] => Array
                        (
                            [1] => 42
                            [2] => 840
                            [3] => 113549
                            [4] => 1
                            [5] => 7
                            [6] => 2
                        )

                    [value:protected] => 1.2.840.113549.1.7.2
                    [contentLength:FG\ASN1\ASNObject:private] => 9
                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                )

            [1] => FG\ASN1\ExplicitlyTaggedObject Object
                (
                    [decoratedObjects:FG\ASN1\ExplicitlyTaggedObject:private] => Array
                        (
                            [0] => FG\ASN1\Universal\Sequence Object
                                (
                                    [children:protected] => Array
                                        (
                                            [0] => FG\ASN1\Universal\Integer Object
                                                (
                                                    [value:FG\ASN1\Universal\Integer:private] => 1
                                                    [contentLength:FG\ASN1\ASNObject:private] => 1
                                                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                                                )

                                            [1] => FG\ASN1\Universal\Set Object
                                                (
                                                    [children:protected] => Array
                                                        (
                                                            [0] => FG\ASN1\Universal\Sequence Object
                                                                (
                                                                    [children:protected] => Array
                                                                        (
                                                                            [0] => FG\ASN1\Universal\ObjectIdentifier Object
                                                                                (
                                                                                    [subIdentifiers:protected] => Array
                                                                                        (
                                                                                            [1] => 96
                                                                                            [2] => 840
                                                                                            [3] => 1
                                                                                            [4] => 101
                                                                                            [5] => 3
                                                                                            [6] => 4
                                                                                            [7] => 2
                                                                                            [8] => 1
                                                                                        )

                                                                                    [value:protected] => 2.16.840.1.101.3.4.2.1
                                                                                    [contentLength:FG\ASN1\ASNObject:private] => 9
                                                                                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                                                                                )

                                                                        )

                                                                    [iteratorPosition:FG\ASN1\Construct:private] => 0
                                                                    [contentLength:FG\ASN1\ASNObject:private] => 11
                                                                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                                                                )

                                                        )

                                                    [iteratorPosition:FG\ASN1\Construct:private] => 0
                                                    [contentLength:FG\ASN1\ASNObject:private] => 13
                                                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                                                )

                                            [2] => FG\ASN1\Universal\Sequence Object
                                                (
                                                    [children:protected] => Array
                                                        (
                                                            [0] => FG\ASN1\Universal\ObjectIdentifier Object
                                                                (
                                                                    [subIdentifiers:protected] => Array
                                                                        (
                                                                            [1] => 42
                                                                            [2] => 840
                                                                            [3] => 113549
                                                                            [4] => 1
                                                                            [5] => 7
                                                                            [6] => 1
                                                                        )

                                                                    [value:protected] => 1.2.840.113549.1.7.1
                                                                    [contentLength:FG\ASN1\ASNObject:private] => 9
                                                                    [nrOfLengthOctets:FG\ASN1\ASNObject:private] => 1
                                                                )

                                                            [1] => FG\ASN1\ExplicitlyTaggedObject Object
                                                                (
                                                                    [decoratedObjects:FG\ASN1\ExplicitlyTaggedObject:private] => Array
                                                                        (
                                                                            [0] => FG\ASN1\Universal\OctetSt.................................
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant