JWKFactory.php
public static function createFromX5C(array $x5c, array $additional_values = []): JWK
    {
        $values = KeyConverter::loadFromX5C($x5c);
        $values = \array_merge($values, $additional_values);

        return JWK::create($values);
    }
public static function createFromX5C(array $x5c, array $additional_values = []): JWK
    {
        $values = KeyConverter::loadFromX5C($x5c);
        $values = \array_merge($values, $additional_values);

        return JWK::create($values);
    }
public static function createFromX5C ( array $ x5c , array $ additional_values = [ ] ) : JWK { $ values = KeyConverter :: loadFromX5C ( $ x5c ) ; $ values = \ array_merge ( $ values , $ additional_values ) ; return JWK :: create ( $ values ) ; }
This method will try to load and convert a X.509 certificate chain into a public key.
This method will try to load and convert a X . 509 certificate chain into a public key .