__construct() public method

You probably should not be using this directly.
public __construct ( HiddenString $keyMaterial )
$keyMaterial HiddenString - The actual key data
Example #1
0
 /**
  * @param string $keyMaterial - The actual key data
  * @param bool $signing - Is this a signing key?
  */
 public function __construct($keyMaterial = '', ...$args)
 {
     $signing = \count($args) >= 1 ? $args[0] : false;
     parent::__construct($keyMaterial, false, $signing, false);
 }
Example #2
0
 /**
  * @param HiddenString $keyMaterial - The actual key data
  */
 public function __construct(HiddenString $keyMaterial)
 {
     parent::__construct($keyMaterial);
     $this->isAsymmetricKey = true;
     $this->isPublicKey = true;
 }