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 8... | Line 8... | ||
8 | * https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue |
8 | * https://www.w3.org/TR/xmldsig-core/#sec-ECKeyValue |
9 | * http://en.wikipedia.org/wiki/XML_Signature |
9 | * http://en.wikipedia.org/wiki/XML_Signature |
10 | * |
10 | * |
11 | * PHP version 5 |
11 | * PHP version 5 |
12 | * |
12 | * |
- | 13 | * @category Crypt |
|
- | 14 | * @package EC |
|
13 | * @author Jim Wigginton <terrafrost@php.net> |
15 | * @author Jim Wigginton <terrafrost@php.net> |
14 | * @copyright 2015 Jim Wigginton |
16 | * @copyright 2015 Jim Wigginton |
15 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
17 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
16 | * @link http://phpseclib.sourceforge.net |
18 | * @link http://phpseclib.sourceforge.net |
17 | */ |
19 | */ |
Line 29... | Line 31... | ||
29 | use phpseclib3\Math\BigInteger; |
31 | use phpseclib3\Math\BigInteger; |
30 | 32 | ||
31 | /** |
33 | /** |
32 | * XML Formatted EC Key Handler |
34 | * XML Formatted EC Key Handler |
33 | * |
35 | * |
- | 36 | * @package EC |
|
34 | * @author Jim Wigginton <terrafrost@php.net> |
37 | * @author Jim Wigginton <terrafrost@php.net> |
- | 38 | * @access public |
|
35 | */ |
39 | */ |
36 | abstract class XML |
40 | abstract class XML |
37 | { |
41 | { |
38 | use Common; |
42 | use Common; |
39 | 43 | ||
Line 52... | Line 56... | ||
52 | private static $rfc4050 = false; |
56 | private static $rfc4050 = false; |
53 | 57 | ||
54 | /** |
58 | /** |
55 | * Break a public or private key down into its constituent components |
59 | * Break a public or private key down into its constituent components |
56 | * |
60 | * |
- | 61 | * @access public |
|
57 | * @param string $key |
62 | * @param string $key |
58 | * @param string $password optional |
63 | * @param string $password optional |
59 | * @return array |
64 | * @return array |
60 | */ |
65 | */ |
61 | public static function load($key, $password = '') |
66 | public static function load($key, $password = '') |