Jose\KeyConverter\ECKey::getCurve PHP 메소드

getCurve() 개인적인 메소드

private getCurve ( string $oid ) : string
$oid string
리턴 string
    private function getCurve($oid)
    {
        $curves = $this->getSupportedCurves();
        $curve = array_search($oid, $curves, true);
        Assertion::string($curve, 'Unsupported OID');
        return $curve;
    }