public toPublic ( ) : Jose\Object\JWKInterface | ||
return | Jose\Object\JWKInterface |
public function toPublic()
{
$values = $this->getAll();
$values = array_diff_key($values, array_flip(['p', 'd', 'q', 'dp', 'dq', 'qi']));
return new self($values);
}