* @since 2.1.0 * * @deprecated Since we've removed OpenSSL from ECDSA there's no reason to use this class */ class Keychain { /** * Returns a private key from file path or content * * @param string $key * @param string $passphrase * * @return Key */ public function getPrivateKey($key, $passphrase = null) { return new Key($key, $passphrase); } /** * Returns a public key from file path or content * * @param string $certificate * * @return Key */ public function getPublicKey($certificate) { return new Key($certificate); } }