Subversion Repositories oidplus

Rev

Rev 846 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 846 Rev 874
Line 3... Line 3...
3
/**
3
/**
4
 * PublicKeyInfo
4
 * PublicKeyInfo
5
 *
5
 *
6
 * PHP version 5
6
 * PHP version 5
7
 *
7
 *
-
 
8
 * @category  File
-
 
9
 * @package   ASN1
8
 * @author    Jim Wigginton <terrafrost@php.net>
10
 * @author    Jim Wigginton <terrafrost@php.net>
9
 * @copyright 2016 Jim Wigginton
11
 * @copyright 2016 Jim Wigginton
10
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
12
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
11
 * @link      http://phpseclib.sourceforge.net
13
 * @link      http://phpseclib.sourceforge.net
12
 */
14
 */
Line 19... Line 21...
19
 * PublicKeyInfo
21
 * PublicKeyInfo
20
 *
22
 *
21
 * this format is not formally defined anywhere but is none-the-less the form you
23
 * this format is not formally defined anywhere but is none-the-less the form you
22
 * get when you do "openssl rsa -in private.pem -outform PEM -pubout"
24
 * get when you do "openssl rsa -in private.pem -outform PEM -pubout"
23
 *
25
 *
-
 
26
 * @package ASN1
24
 * @author  Jim Wigginton <terrafrost@php.net>
27
 * @author  Jim Wigginton <terrafrost@php.net>
-
 
28
 * @access  public
25
 */
29
 */
26
abstract class PublicKeyInfo
30
abstract class PublicKeyInfo
27
{
31
{
28
    const MAP = [
32
    const MAP = [
29
        'type' => ASN1::TYPE_SEQUENCE,
33
        'type' => ASN1::TYPE_SEQUENCE,