Lines Matching refs:key
35 * @param array $key
39 public static function load($key, $password = '') argument
41 if (!is_array($key)) {
42 throw new \UnexpectedValueException('Key should be a array - not a ' . gettype($key));
46 case !isset($key['p']) || !isset($key['q']) || !isset($key['g']):
47 case !$key['p'] instanceof BigInteger:
48 case !$key['q'] instanceof BigInteger:
49 case !$key['g'] instanceof BigInteger:
50 case !isset($key['x']) && !isset($key['y']):
51 case isset($key['x']) && !$key['x'] instanceof BigInteger:
52 case isset($key['y']) && !$key['y'] instanceof BigInteger:
58 return array_intersect_key($key, $options);