private function getOID($curve) { $curves = $this->getSupportedCurves(); $oid = array_key_exists($curve, $curves) ? $curves[$curve] : null; Assertion::notNull($oid, 'Unsupported curve'); return $oid; }