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

Commit

Permalink
Switch to MIT license
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrosse committed Apr 5, 2015
1 parent bf85371 commit 1966cc2
Show file tree
Hide file tree
Showing 93 changed files with 390 additions and 1,885 deletions.
640 changes: 19 additions & 621 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A PHP Framework that allows you to encode and decode arbitrary ASN.1 structures using the ITU-T X.690 Encoding Rules.",
"type": "library",
"homepage": "https://github.com/FGrosse/PHPASN1",
"license": "GPLv3",
"license": "MIT",
"authors": [
{
"name": "Friedrich Große",
Expand Down
18 changes: 4 additions & 14 deletions examples/Issue14.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2013
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

require_once __DIR__.'/../vendor/autoload.php';
Expand Down
9 changes: 8 additions & 1 deletion examples/Issue29.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

use FG\ASN1\Object;
use FG\ASN1\Identifier;
Expand Down
18 changes: 4 additions & 14 deletions examples/allClasses.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

require_once __DIR__.'/hexdump.php';
Expand Down
18 changes: 4 additions & 14 deletions examples/getObjectIdentifier.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

require_once __DIR__.'/../vendor/autoload.php';
Expand Down
18 changes: 4 additions & 14 deletions examples/parseBinary.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

require_once __DIR__.'/../vendor/autoload.php';
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/AbstractString.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/AbstractTime.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Composite/AttributeTypeAndValue.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Composite;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Composite/RDNString.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Composite;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Composite/RelativeDistinguishedName.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Composite;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Construct.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Exception/GeneralException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Exception;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Exception/NotImplementedException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Exception;
Expand Down
18 changes: 4 additions & 14 deletions lib/ASN1/Exception/ParserException.php
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große, Berlin 2012
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1\Exception;
Expand Down
24 changes: 7 additions & 17 deletions lib/ASN1/ExplicitlyTaggedObject.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
<?php
/*
* This file is part of PHPASN1 written by Friedrich Große.
*
* Copyright © Friedrich Große, Berlin 2012
*
* PHPASN1 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* PHPASN1 is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with PHPASN1. If not, see <http://www.gnu.org/licenses/>.
*/
* This file is part of the PHPASN1 library.
*
* Copyright © Friedrich Große <friedrich.grosse@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace FG\ASN1;

Expand Down
Loading

0 comments on commit 1966cc2

Please sign in to comment.