*/ class ParTCP_Server_Key_Storage extends ParTCP_Key_Storage_Fs { public static function store_pubkey( $id, $pubKey ){ // do not store public keys } public static function get_pubkey( $id ){ foreach ( $GLOBALS['IdProviders'] as $provider ){ $info = $provider->get_info( $id ); if ( $info ){ return $info['public_key'] ?? FALSE; } } return FALSE; } } // end of file server_key_storage.class.php